Random Port Generator
Generate random TCP/UDP port numbers in any range — well-known, registered, dynamic, or custom.
Common port reference
22
SSH
80
HTTP
443
HTTPS
3306
MySQL
5432
PostgreSQL
6379
Redis
27017
MongoDB
8080
HTTP-alt
8443
HTTPS-alt
TCP/UDP port ranges
Port numbers range from 0 to 65535. Ports 0–1023 are well-known ports assigned by IANA to common services (HTTP, HTTPS, SSH). Ports 1024–49151 are registered ports used by applications. Ports 49152–65535 are dynamic/ephemeral ports typically used for client-side connections. This tool generates cryptographically random port numbers using crypto.getRandomValues.
Private & free — this tool runs entirely in your browser.
Recommended: Cloudways — Managed cloud hosting on AWS, GCP & DO — from $11/mo.affiliate
Related Generators tools
UUID Generator
Generate secure v4 UUIDs.
QR Code Generator
Create customizable QR codes and export as SVG or PNG.
Lorem Ipsum
Generate placeholder paragraphs, sentences, or word lists.
Random Hex Generator
Generate cryptographically random hexadecimal strings.
Random Number String
Generate a random string of digits of any length.
Random String Generator
Generate random strings from a custom character set.
Random Color Generator
Generate random colors as HEX, RGB, and HSL.
MAC Address Generator
Generate random MAC addresses in several formats.