What is the ephemeral port range, and why is it important for Cloudflare Tunnel?

Question

Grade: Education Subject: Support
What is the ephemeral port range, and why is it important for Cloudflare Tunnel?
Asked by:
80 Viewed 80 Answers

Answer (80)

Best Answer
(384)
The ephemeral port range is a set of ports used by the operating system for outgoing TCP connections. Cloudflare Tunnel relies on these ports for establishing a connection from your origin to Cloudflare's network. If the range is too small, the server can run out of available ports, leading to connection failures and the 'port 65535' error. A larger range provides more flexibility.