TodayTools

Networking lookup

Common port numbers and what uses them

Type a port number or a name. Get what it is, TCP or UDP, and if it is safe to open.

Donate
What brings you here?
120 ports in the listTry

The ports people look up most

What is a port?

Think of a computer as a block of flats. The IP address is the street address. It gets the data to the right building.

The port is the flat number. It gets the data to the right program inside. A web server waits behind door 443, SSH behind door 22.

There are 65,536 doors, numbered 0 to 65535. TCP and UDP each have their own set.

203.0.113.1022SSH80Web443HTTPS3389Desktop

All 120 ports by purpose

Open a group to see its ports. Tap a number for the full answer.

Web6 ports80, 443, 3128, 8080, 8443
Web ports
PortServiceWhat it isOpen to internet
TCPHTTPPlain web traffic. Most sites only use it to redirect to HTTPS.Fine to open
TCPHTTPSEncrypted web traffic over TLS. Also WebSocket (wss), gRPC and DoH.Fine to open
UDPHTTP/3 (QUIC)HTTP/3 runs on QUIC over UDP on the same port number.Fine to open
TCPHTTP proxyA classic default port for web proxies.Open with care
TCPAlt HTTP / proxySecond web port, used by proxies, app servers and admin pages.Open with care
TCPAlt HTTPSSecond HTTPS port, often for admin panels and app servers.Fine to open
Email8 ports25, 110, 119, 143, 465, 587, 993, 995
Email ports
PortServiceWhat it isOpen to internet
TCPSMTPMail servers passing email to each other. Often blocked for home users.Fine to open
TCPPOP3Downloads mail. Plain text unless STARTTLS is used; prefer 995.Keep closed
TCPNNTPUsenet news groups.Open with care
TCPIMAPReads mail on the server. Plain text unless STARTTLS is used; prefer 993.Keep closed
TCPSMTP submission (TLS)Sending mail from an app with TLS from the first byte.Fine to open
TCPSMTP submissionSending mail from an app, with login and STARTTLS.Fine to open
TCPIMAPSIMAP inside TLS. The port to use for reading mail.Fine to open
TCPPOP3SPOP3 inside TLS.Fine to open
Files14 ports20, 21, 69, 111, 137, 138, 139, 445, ...
Files ports
PortServiceWhat it isOpen to internet
TCPFTP dataCarries files in active-mode FTP.Keep closed
TCPFTPFTP commands and login. Password travels as plain text.Keep closed
UDPTFTPTiny file transfer with no login. Used to boot and update network gear.Keep closed
TCP/UDPrpcbindTells clients where Unix RPC services such as NFS listen.Keep closed
UDPNetBIOS nameOld Windows name lookups on a local network.Keep closed
UDPNetBIOS datagramOld Windows network browsing messages.Keep closed
TCPNetBIOS sessionOld way to run Windows file sharing (SMB). Modern SMB uses 445.Keep closed
TCPSMBWindows file and printer sharing. Block it from the internet.Keep closed
TCPrsyncThe rsync daemon for copying and syncing files. Often run over SSH instead.Keep closed
TCPFTPS dataFTP data channel inside TLS.Keep closed
TCPFTPSFTP control channel inside TLS from the first byte.Keep closed
TCP/UDPNFSNetwork File System, shared folders on Unix and Linux.Keep closed
TCPiSCSIDisks shared over the network as if they were plugged in.Keep closed
TCP/UDPBitTorrentThe classic default range for BitTorrent clients; most now pick a random port.Keep closed
Remote access9 ports22, 23, 135, 2222, 3389, 5900, 5985, 5986, ...
Remote access ports
PortServiceWhat it isOpen to internet
TCPSSH, SFTP, scpEncrypted remote login, file transfer and tunnels.Open with care
TCPTelnetRemote terminal with no encryption. Replaced by SSH.Keep closed
TCPWindows RPCEndpoint mapper for Windows remote calls. Never expose it to the internet.Keep closed
TCPSSH (alternate)A common second port for SSH, used to dodge noisy scans on 22.Keep closed
TCP/UDPRDPWindows Remote Desktop. A top target for attacks; put it behind a VPN.Keep closed
TCPVNCRemote screen sharing. Many setups are weakly protected.Keep closed
TCPWinRM (HTTP)Windows remote management over HTTP.Keep closed
TCPWinRM (HTTPS)Windows remote management over HTTPS.Keep closed
TCPX11Unix graphical display over the network. Tunnel it through SSH.Keep closed
Network services20 ports7, 53, 67, 68, 123, 161, 162, 179, ...
Network services ports
PortServiceWhat it isOpen to internet
TCP/UDPEchoSends back whatever it gets. Old test service, usually turned off.Open with care
TCP/UDPDNSName lookups. UDP for most questions, TCP for large answers.Open with care
UDPDHCP serverWhere a DHCP server listens for devices asking for an address.Open with care
UDPDHCP clientWhere your device listens for the DHCP offer and ack.Open with care
UDPNTPKeeps clocks in sync.Open with care
UDPSNMPReads counters and settings from routers, switches and printers.Open with care
UDPSNMP trapDevices send alerts (traps) to a monitoring server here.Open with care
TCPBGPRouters of different networks swapping routes.Open with care
UDPSyslogDevices send log lines to a log server. Plain text.Open with care
UDPRIPAn old, simple routing protocol.Open with care
UDPDHCPv6 clientWhere a device listens for DHCPv6 replies.Open with care
UDPDHCPv6 serverWhere a DHCPv6 server or relay listens.Open with care
TCP/UDPDNS over TLS / QUICEncrypted DNS: TLS on TCP, or QUIC on UDP.Open with care
UDPVXLANVirtual networks laid over a data centre network.Open with care
UDPmDNSFinds printers and speakers by name on the local network.Open with care
UDPLLMNRWindows local name lookup. Often turned off for safety.Keep closed
TCPSyslog over TLSLog lines sent inside TLS.Open with care
TCPZabbix agentMonitoring agent on a watched server.Open with care
TCPZabbix serverMonitoring server receiving agent data.Open with care
TCP/UDPDynamic portsTemporary source ports your device picks for its own side of a connection.Not a service
VPN and login12 ports88, 389, 500, 636, 1080, 1194, 1701, 1723, ...
VPN and login ports
PortServiceWhat it isOpen to internet
TCP/UDPKerberosTicket-based login used by Windows domains and many enterprise systems.Open with care
TCP/UDPLDAPDirectory lookups for users and groups. Use StartTLS or 636.Keep closed
UDPIKE (IPsec)Sets up IPsec VPN keys.Fine to open
TCPLDAPSLDAP inside TLS.Open with care
TCPSOCKSSOCKS proxy, including SOCKS5.Open with care
UDPOpenVPNOpenVPN tunnels. Can also run on TCP.Fine to open
UDPL2TPLayer 2 tunnel, almost always used inside IPsec.Open with care
TCPPPTPAn old VPN with broken encryption. Do not use it.Keep closed
UDPRADIUSLogin checks for Wi-Fi (802.1X) and VPNs.Open with care
UDPRADIUS accountingRecords when sessions start and stop.Open with care
UDPIPsec NAT traversalIPsec traffic wrapped in UDP so it passes home routers.Fine to open
UDPWireGuardThe usual default WireGuard VPN port; any UDP port works.Not a service
Databases15 ports1433, 1434, 1521, 2181, 3306, 5432, 5671, 5672, ...
Databases ports
PortServiceWhat it isOpen to internet
TCPSQL ServerMicrosoft SQL Server database. Keep it off the internet.Keep closed
UDPSQL Server BrowserHelps clients find named SQL Server instances.Keep closed
TCPOracle DatabaseOracle database listener.Keep closed
TCPZooKeeperCoordination service used by many clustered systems.Keep closed
TCPMySQL / MariaDBMySQL and MariaDB databases. Keep it off the internet.Keep closed
TCPPostgreSQLPostgreSQL database.Keep closed
TCPAMQP over TLSMessage queues (such as RabbitMQ) with TLS.Keep closed
TCPAMQPMessage queues such as RabbitMQ.Keep closed
TCPRedisRedis in-memory store. Exposed servers get taken over quickly.Keep closed
TCPInfluxDBDefault HTTP API of the InfluxDB time series database.Keep closed
TCPKafkaDefault port of Apache Kafka brokers.Keep closed
TCPElasticsearchElasticsearch and OpenSearch HTTP API. Keep it private.Keep closed
TCPElasticsearch nodesElasticsearch nodes talking to each other.Keep closed
TCP/UDPMemcachedMemory cache. Open UDP servers were used in huge DDoS floods.Keep closed
TCPMongoDBMongoDB database. Turn on login and keep it private.Keep closed
Calls and media11 ports554, 1935, 3478, 5004, 5060, 5061, 5222, 5269, ...
Calls and media ports
PortServiceWhat it isOpen to internet
TCP/UDPRTSPControls IP camera and media streams.Keep closed
TCPRTMPSending a live stream from an encoder to a server.Open with care
TCP/UDPSTUN / TURNHelps calls find a path through NAT, or relays them.Fine to open
UDPRTP mediaA registered port for RTP audio and video. Calls often pick ports from a range instead.Open with care
TCP/UDPSIPInternet phone call setup in plain text.Open with care
TCPSIP over TLSCall setup inside TLS.Open with care
TCPXMPP clientChat apps connecting to an XMPP server.Open with care
TCPXMPP serverXMPP chat servers talking to each other.Open with care
TCPTURN over TLSSTUN and TURN inside TLS.Fine to open
TCPIRCInternet Relay Chat. TLS servers often use 6697.Open with care
TCPMinecraftDefault port of a Minecraft Java Edition server.Open with care
Devices and IoT12 ports502, 515, 631, 1883, 1900, 5683, 5684, 8883, ...
Devices and IoT ports
PortServiceWhat it isOpen to internet
TCPModbus TCPFactory machines and meters. No login at all, so keep it isolated.Keep closed
TCPLPDOld Unix printing protocol.Keep closed
TCPIPPInternet Printing Protocol, used by most modern printers.Keep closed
TCPMQTTSmart home and sensor messages, not encrypted. Prefer 8883.Keep closed
UDPSSDP (UPnP)Finds smart TVs, speakers and routers on the local network.Keep closed
UDPCoAPA tiny web-like protocol for very small devices.Keep closed
UDPCoAP over DTLSCoAP with encryption.Keep closed
TCPMQTT over TLSMQTT with encryption. The one to use outside a lab.Open with care
TCPRaw printingSend-and-print port on network printers (also Prometheus node exporter).Keep closed
TCPDNP3Power and water utility control systems.Keep closed
TCP/UDPEtherNet/IPFactory controllers and drives (CIP over Ethernet).Keep closed
UDPBACnetBuilding control: heating, cooling, lights.Keep closed
Developer tools13 ports2375, 2376, 3000, 4200, 5000, 5173, 5601, 6443, ...
Developer tools ports
PortServiceWhat it isOpen to internet
TCPDocker APIDocker engine API without TLS. Anyone who reaches it controls the host.Keep closed
TCPDocker API (TLS)Docker engine API with TLS.Keep closed
TCPDev web serverA popular default for local web apps and dashboards.Keep closed
TCPAngular dev serverDefault port of the Angular development server.Keep closed
TCPDev web serverDefault port of the Flask development server and many local tools.Keep closed
TCPVite dev serverDefault port of the Vite development server.Keep closed
TCPKibanaDefault web port of the Kibana dashboard.Keep closed
TCPKubernetes APIDefault port of the Kubernetes API server.Keep closed
TCPAlt HTTPA common port for local and test web servers.Keep closed
TCPJupyter / alt HTTPDefault port of Jupyter notebooks and other local tools.Keep closed
TCPDev and admin toolsUsed by many tools, such as PHP-FPM and object storage consoles.Keep closed
TCPPrometheusDefault web port of the Prometheus monitoring server.Keep closed
TCPGitThe plain git:// protocol, read-only and unencrypted.Keep closed

Numbers follow the IANA port registry. A common default is a widely used setting that the registry lists for something else, or not at all. Any service can be moved to another port.

The three port ranges

  1. 0 to 1023

    Well-known

    Common services such as SSH, DNS, HTTP and HTTPS. Only admin programs may listen on them on most systems.

  2. 1024 to 49151

    Registered

    Assigned by IANA to specific apps, such as 3306 for MySQL or 1883 for MQTT.

  3. 49152 to 65535

    Dynamic

    Temporary source ports your device picks for its own side of each connection.

Questions people ask

What is a port number?

A port is a number from 0 to 65535 that picks which app on a device gets the data. The IP address finds the device; the port finds the program, such as a web server on 443 or SSH on 22.

What port does HTTPS use?

HTTPS uses TCP port 443. HTTP/3 also uses port 443, but on UDP. Plain HTTP uses port 80.

What are well-known ports?

Ports 0 to 1023 are well-known ports, assigned by IANA to common services like SSH (22), DNS (53) and HTTPS (443). Ports 1024 to 49151 are registered ports, and 49152 to 65535 are dynamic ports your device picks for its own side of a connection.

Is a TCP port the same as a UDP port?

No. TCP and UDP each have their own 65536 ports. TCP 53 and UDP 53 are two different doors, even though DNS uses both.

Which ports should never be open to the internet?

Database ports (3306, 5432, 6379, 27017), file sharing (445, 139), remote desktop (3389), Telnet (23) and admin APIs like Docker on 2375. Reach them through a VPN or SSH instead.

How can I see which ports are open on my computer?

On Linux run ss -tulpn, on macOS run lsof -i -P | grep LISTEN, and on Windows run netstat -ano in a terminal. Each lists the ports your programs are listening on.

Learn more

Donate