Generate random TCP/UDP ports outside well-known ranges
Options
Dynamic / private ports for short-lived client connections.
Comma- or newline-separated. 0 valid ports parsed.
Generated Ports
Cryptographically random via crypto.getRandomValues.
Press Generate to produce random ports.
About port ranges
Well-known (0–1023)
Reserved for system services such as HTTP (80), HTTPS (443), and SSH (22). Excluded here by default — avoid binding random ports here.
Registered (1024–49151)
Assigned by IANA to specific applications (Postgres 5432, MySQL 3306, etc.). Safe for application servers, but watch for collisions.
Ephemeral (49152–65535)
Dynamic / private range. The OS picks from here for outgoing connections. Best choice for one-off local dev ports.