HTTPfy

TCP and UDP port numbers

What runs on each port, whether it should be reachable from the internet, and how to check it.

The three port ranges

A port is a 16-bit number (0-65535) that tells the operating system which program should receive a TCP or UDP packet. IANA splits the space into three ranges (RFC 6335):

  • Well-known ports, 0-1023. Assigned to core internet services such as SSH (22), DNS (53) and HTTPS (443). On Linux and macOS only root (or a process with CAP_NET_BIND_SERVICE) may listen on them.
  • Registered ports, 1024-49151. Assigned by IANA on request to applications such as MySQL (3306) or RDP (3389). Registration is not enforced: many programs use unregistered numbers, and one number can have several unrelated users.
  • Dynamic or private ports, 49152-65535. Never assigned. Operating systems use them as temporary (ephemeral) source ports for outgoing connections. Linux by default uses 32768-60999 instead (net.ipv4.ip_local_port_range).

TCP and UDP have separate port spaces, so TCP 53 and UDP 53 are different sockets. IANA usually assigns a service both. A port that is open answers a connection, closed replies with a reset, and filtered gives no reply because a firewall drops the packets. Our open port checker tests any public host for you.

Should a port be open to the internet?

Each port page says how the service is usually meant to be exposed:

  • Meant to face the internet: Fine to expose when the service is intended to be public and kept patched.
  • Expose only to trusted sources: Allow it only from known IP addresses, a VPN or a bastion host.
  • Do not expose to the internet: Keep it on private networks and block it at the perimeter firewall.
  • Localhost or LAN only: It should listen on 127.0.0.1 or the local network, never on a public address.

The most important ports

PortServiceProtocolExposure
443HTTPSTCP/UDPMeant to face the internet
80HTTPTCPMeant to face the internet
22SSHTCPExpose only to trusted sources
53DNSTCP/UDPMeant to face the internet
25SMTPTCPMeant to face the internet
587SMTP submissionTCPMeant to face the internet
465SMTPS (submission over TLS)TCPMeant to face the internet
3389RDP (Remote Desktop)TCP/UDPExpose only to trusted sources
3306MySQL / MariaDBTCPDo not expose to the internet
5432PostgreSQLTCPDo not expose to the internet
6379RedisTCPDo not expose to the internet
27017MongoDBTCPDo not expose to the internet
8080HTTP alternateTCPExpose only to trusted sources
8443HTTPS alternateTCPExpose only to trusted sources
21FTP (control)TCPExpose only to trusted sources
20FTP (data, active mode)TCPExpose only to trusted sources
23TelnetTCPDo not expose to the internet
110POP3TCPExpose only to trusted sources
995POP3STCPMeant to face the internet
143IMAPTCPExpose only to trusted sources
993IMAPSTCPMeant to face the internet
445SMB (Microsoft-DS)TCPDo not expose to the internet
139NetBIOS Session ServiceTCPDo not expose to the internet
137NetBIOS Name ServiceUDPLocalhost or LAN only

Web

Remote access

Network infrastructure

Email

Databases

Caches

File transfer and storage

Windows networking

Directory and authentication

Monitoring and logging

Containers and Kubernetes

Development tools

VPN

Message queues

IoT and devices

Voice, video and chat

Streaming

Proxies and Tor

Printing

Games

Peer-to-peer

Industrial control (ICS/SCADA)

Security

Mobile push

All IANA-assigned well-known ports (0-1023)

669 of the 6,101 ports with an IANA assignment are in the well-known range. Every number from 0 to 65535 has a page at /ports/<number>.

1tcpmux5rje7echo9discard11systat13daytime15Unassigned [was netstat]17qotd18msp19chargen20FTP (data, active mode)21FTP (control)22SSH23Telnet24any private mail system25SMTP27nsw-fe29msg-icp31msg-auth33dsp35any private printer server37time38rap39rlp41graphics42name, nameserver43nicname44mpm-flags45mpm46mpm-snd48auditd49TACACS+50re-mail-ck52xns-time53DNS54xns-ch55isi-gl56xns-auth57any private terminal access58xns-mail59any private file service62acas63whoispp, whois++64covia65tacacs-ds66sql-net, sql*net67DHCP server (BOOTP)68DHCP client (BOOTP)69TFTP70gopher71netrjs-172netrjs-273netrjs-374netrjs-475any private dial out service76deos77any private RJE service78vettcp79finger80HTTP82xfer83mit-ml-dev84ctf85mit-ml-dev86mfcobol87any private terminal link88Kerberos89su-mit-tg90dnsix91mit-dov92npp93dcp94objcall95supdup96dixie97swift-rvf98tacnews99metagram101hostname102Siemens S7 (ISO-TSAP)103gppitnp104acr-nema105cso, csnet-ns1063com-tsmux107rtelnet108snagas109pop2110POP3111rpcbind / portmapper112mcidas113Ident115sftp116ansanotify117uucp-path118sqlserv119NNTP120cfdptkt121erpc122smakynet123NTP124ansatrader125locus-map126nxedit127locus-con128gss-xlicen129pwdgen130cisco-fna131cisco-tna132cisco-sys133statsrv134ingres-net135Microsoft RPC endpoint mapper136profile137NetBIOS Name Service138NetBIOS Datagram Service139NetBIOS Session Service140emfis-data141emfis-cntl142bl-idm143IMAP144uma145uaac146iso-tp0147iso-ip148jargon149aed-512150sql-net151hems152bftp153sgmp154netsc-prod155netsc-dev156sqlsrv157knet-cmp158pcmail-srv159nss-routing160sgmp-traps161SNMP162SNMP trap163cmip-man164cmip-agent165xns-courier166s-net167namp168rsvd169send170print-srv171multiplex172cl-1, cl/1173xyplex-mux174mailq175vmnet176genrad-mux177xdmcp178nextstep179BGP180ris181unify182audit183ocbinder184ocserver185remote-kis186kis187aci188mumps189qft190gacp191prospero192osu-nms193srmp194IRC (IANA)195dn6-nlm-aud196dn6-smm-red197dls198dls-mon199smux200src201at-rtmp202at-nbp203at-3204at-echo205at-5206at-zis207at-7208at-8209qmtp210z39-50, z39.50211914c-g, 914c/g212anet213ipx214vmpwscs215softpc216CAIlic217dbase218mpp219uarps220imap3221fln-spx222rsh-spx223cdc224masqdialer242direct243sur-meas244inbusiness245link246dsp3270247subntbcst-tftp, subntbcst_tftp248bhfhs256rap257set259esro-gen260openport261nsiiops262arcisdms263hdap264bgmp265x-bone-ctl266sst267td-service268td-replica269manet270gist271pt-tls280http-mgmt281personal-link282cableport-ax283rescap284corerjd286fxp287k-block300tacacss308novastorbakcup309entrusttime310bhmds311asip-webadmin312vslmp313magenta-logic314opalis-robot315dpsi316decauth317zannet318pkix-timestamp319ptp-event320ptp-general321pip322rtsps323rpki-rtr324rpki-rtr-tls333texar344pdap345pawserv346zserv347fatserv348csi-sgwp349mftp350matip-type-a351matip-type-b, bhoetty352dtag-ste-sb, bhoedap4353ndsauth354bh611355datex-asn356cloanto-net-1357bhevent358shrinkwrap360scoi2odialog361semantix362srssend363rsvp-tunnel, rsvp_tunnel364aurora-cmgr365dtk366odmr367mortgageware368qbikgdp369rpc2portmap370codaauth2371clearcase372ulistproc373legent-1374legent-2375hassle376nip377tnETOS378dsETOS379is99c380is99s381hp-collector382hp-managed-node383hp-alarm-mgr384arns385ibm-app386asa387aurp388unidata-ldm389LDAP390uis391synotics-relay392synotics-broker393meta5394embl-ndt395netcp396netware-ip397mptn398kryptolan399iso-tsap-c2400osb-sd401ups402genie403decap404nced405ncld406imsp407timbuktu408prm-sm409prm-nm410decladebug411rmt412synoptics-trap413smsp414infoseek415bnet416silverplatter417onmux418hyper-g419ariel1420smpte421ariel2422ariel3423opc-job-start424opc-job-track425icad-el426smartsdp427SLP (Service Location Protocol)428ocs-cmu, ocs_cmu429ocs-amu, ocs_amu430utmpsd431utmpcd432iasd433nnsp434mobileip-agent435mobilip-mn436dna-cml437comscm438dsfgw439dasp440sgcp441decvms-sysmgt442cvc-hostd, cvc_hostd443HTTPS444snpp445SMB (Microsoft-DS)446ddm-rdb447ddm-dfm448ddm-ssl449as-servermap450tserver451sfs-smp-net452sfs-config453creativeserver454contentserver455creativepartnr456macon-tcp, macon-udp457scohelp458appleqtc459ampr-rcmd460skronk461datasurfsrv462datasurfsrvsec463alpes464Kerberos password change465SMTPS (submission over TLS)466digital-vrc467mylex-mapd468photuris469rcp470scx-proxy471mondex472ljk-login473hybrid-pop474tn-tl-w1, tn-tl-w2475tcpnethaspsrv476tn-tl-fd1477ss7ns478spsc479iafserver480iafdbase481ph482bgs-nsi483ulpnet484integra-sme485powerburst486avian487saft488gss-http489nest-protocol490micom-pfs491go-login492ticf-1493ticf-2494pov-ray495intecourier496pim-rp-disc497retrospect498siam499iso-ill500IKE (IPsec)501stmf502Modbus/TCP503intrinsa504citadel505mailbox-lm506ohimsrv507crs508xvttp509snare510fcp511passgo512exec, biff513login, who514Syslog (UDP) / rsh (TCP)515LPD / LPR516videotex517talk519utime520efs, router521ripng522ulp523ibm-db2524ncp525timed526tempo527stx528custix529irc-serv530courier531conference532netnews533netwall534windream535iiop536opalis-rdv537nmsp538gdomap539apertus-ldp540uucp541uucp-rlogin542commerce544kshell545appleqtcsrvr546DHCPv6 client547DHCPv6 server548AFP549idfp550new-rwho551cybercash552devshr-nts553pirp554RTSP556remotefs557openvms-sysipc558sdnskmp559teedtap560rmonitor562chshell563NNTP over TLS5649pfs565whoami566streettalk567banyan-rpc568ms-shuttle569ms-rome570meter571meter572sonar573banyan-vip574ftp-agent575vemmi576ipcd577vnas578ipdd579decbsrv580sntp-heartbeat581bdp582scc-security583philips-vc584keyserver586password-chg587SMTP submission588cal589eyelink590tns-cml591http-alt592eudora-set593RPC over HTTP594tpip595cab-protocol596smsd597ptcnameservice598sco-websrvrmg3599acp600ipcserver601Syslog (reliable, TCP)602xmlrpc-beep603idxp604tunnel605soap-beep606urm607nqs608sift-uft609npmp-trap610npmp-local611npmp-gui612hmmp-ind613hmmp-op614sshell615sco-inetmgr616sco-sysmgr617sco-dtmgr618dei-icda619compaq-evm620sco-websrvrmgr621escp-ip622collaborator623oob-ws-http, asf-rmcp624cryptoadmin625dec-dlm, dec_dlm626asia627passgo-tivoli628qmqp6293com-amp3630rda631IPP / CUPS632bmpp633servstat634ginad635rlzdbase636LDAPS637lanserver638mcns-sec639msdp640entrust-sps641repcmd642esro-emsdp643sanity644dwr645pssc646LDP (MPLS)647dhcp-failover648rrp649cadview-3d650obex651ieee-mms652hello-port653repscmd654aodv655tinc656spmp657rmc658tenfold660mac-srvr-admin661hap662pftp663purenoise664oob-ws-https, asf-secure-rmcp665sun-dr666doom667disclose668mecomm669meregister670vacdsm-sws671vacdsm-app672vpps-qua673cimplex674acap675dctp676vpps-via677vpp678ggf-ncp679mrm680entrust-aaas681entrust-aams682xfr683corba-iiop684corba-iiop-ssl685mdc-portmapper686hcp-wismar687asipregistry688realm-rusd689nmap690vatp691msexch-routing692hyperwave-isp693connendp694ha-cluster695ieee-mms-ssl696rushd697uuidgen698olsr699accessnetwork700epp701lmp702iris-beep704elcsd705agentx706silc707borland-dsj709entrust-kmsh710entrust-ash711cisco-tdp712tbrpf713iris-xpc714iris-xpcs715iris-lwz716pana729netviewdm1730netviewdm2731netviewdm3741netgw742netrcs744flexlm747fujitsu-dev748ris-cm749kerberos-adm750kerberos-iv754tell767phonebook774acmaint-dbd775acmaint-transd777multiling-http800mdbs-daemon802mbap-s810fcp-udp828itm-mcell-s829pkix-3-ca-ra830netconf-ssh847dhcp-failover2848gdoi853DNS over TLS / DNS over QUIC854dlep860iscsi861owamp-control, owamp-test862twamp-control, twamp-test873rsync daemon886iclcnet-locate887iclcnet-svinfo, iclcnet_svinfo888accessbuilder, cddbp900omginitialrefs901smpnameres902VMware ESXi / authd903ideafarm-panic910kink911xact-backup912apex-mesh913apex-edge914rift-lies915rift-ties953rndc989FTPS (implicit, data)990FTPS (implicit, control)991nas992Telnet over TLS993IMAPS995POP3S996vsinet999applix1001webpush1008Possibly used by Sun Solaris????1010surf1021exp11022exp2

Assignment data: IANA Service Name and Transport Protocol Port Number Registry (public domain), retrieved 2026-11-10. Usage and security notes are written by httpfy.io.