prefixkit Ask an engineerAsk RU

IP & network

Port directory

155 common ports: SSH, RDP, SIP, databases, VPN, cameras, MikroTik. Which service it is, whether to expose it, firewall commands and a reachability check.

Remote access 11

22TCPSSH / SFTP
Secure shell for remote administration, SFTP and SCP file transfer, Git over SSH.
Expose with care
23TCPTelnet
Unencrypted remote console, still found on routers, switches and IoT devices.
Do not expose
3283TCP/UDPApple Remote Desktop
Apple Remote Desktop reporting; abused for DDoS amplification.
Do not expose
3389TCP/UDPRDP
Windows Remote Desktop. One of the most brute-forced ports on the internet.
Do not expose
5555TCPAndroid ADB
Android Debug Bridge over network: full control of the device.
Do not expose
5900TCPVNC
VNC remote desktop, often with weak or no password.
Do not expose
5938TCP/UDPTeamViewer
TeamViewer connections (outbound from the client).
Expose with care
5985TCPWinRM HTTP
Windows Remote Management / PowerShell remoting over HTTP.
Do not expose
5986TCPWinRM HTTPS
WinRM over HTTPS.
Do not expose
6000TCPX11
X Window System display server.
Do not expose
8291TCPMikroTik WinBox
MikroTik WinBox management. Exploited at scale (CVE-2018-14847); restrict to the LAN or VPN.
Do not expose

Databases 12

1433TCPMicrosoft SQL Server
MS SQL Server database engine.
Do not expose
1434UDPMS SQL Browser
SQL Server Browser service (instance discovery).
Do not expose
1521TCPOracle DB
Oracle database listener.
Do not expose
3306TCPMySQL / MariaDB
MySQL and MariaDB databases.
Do not expose
5432TCPPostgreSQL
PostgreSQL database.
Do not expose
6379TCPRedis
Redis in-memory database; unauthenticated Redis is a classic way to get hacked.
Do not expose
8086TCPInfluxDB
InfluxDB time-series database HTTP API.
Do not expose
9042TCPCassandra
Apache Cassandra CQL.
Do not expose
9200TCPElasticsearch
Elasticsearch REST API; exposed clusters leak billions of records.
Do not expose
9300TCPElasticsearch transport
Elasticsearch node-to-node transport.
Do not expose
11211TCP/UDPMemcached
Memcached cache; UDP memcached gave record-breaking DDoS amplification.
Do not expose
27017TCPMongoDB
MongoDB database; open instances are wiped and ransomed within hours.
Do not expose

VoIP and telephony 15

1720TCPH.323
H.323 call signalling of older video conferencing and VoIP systems.
Do not expose
2000TCPCisco SCCP (Skinny)
Cisco Skinny call control between IP phones and CUCM. MikroTik also uses 2000 for its bandwidth test.
Do not expose
2427UDPMGCP gateway
Media Gateway Control Protocol, gateway side.
Do not expose
2727UDPMGCP call agent
MGCP call agent (softswitch) side.
Do not expose
2944TCP/UDPH.248 / Megaco
H.248 (Megaco) control of media gateways by softswitches.
Do not expose
3478TCP/UDPSTUN / TURN
NAT traversal for WebRTC, video calls and VoIP (STUN, TURN).
Normal to expose
4569UDPIAX2
Inter-Asterisk eXchange: signalling and media in one UDP stream.
Expose with care
5004UDPRTP
Default RTP media port for many VoIP and streaming systems.
Normal to expose
5060TCP/UDPSIP
SIP signalling for IP telephony: registration of phones and trunks, call setup. Constantly scanned by toll-fraud bots.
Expose with care
5061TCPSIP over TLS
Encrypted SIP (SIPS), used with SRTP for secure calls.
Expose with care
5080TCP/UDPFreeSWITCH external SIP
FreeSWITCH "external" SIP profile (5060 is the internal one by default).
Expose with care
8021TCPFreeSWITCH Event Socket
FreeSWITCH Event Socket: full control of the switch, default password ClueCon.
Do not expose
8088TCPAsterisk HTTP / ARI
Asterisk built-in HTTP server: ARI, AMI over HTTP, WebSocket for WebRTC.
Do not expose
8089TCPAsterisk HTTPS / WSS
Asterisk HTTPS and secure WebSocket for WebRTC phones.
Expose with care
19302UDPGoogle STUN
Google public STUN servers used by WebRTC.
Normal to expose

File sharing 14

20TCPFTP data
Data channel of classic FTP (active mode).
Do not expose
21TCPFTP
FTP control connection. Logins and files travel unencrypted.
Do not expose
69UDPTFTP
Trivial FTP without authentication. Used to provision IP phones and network boot (PXE).
Do not expose
111TCP/UDPrpcbind / portmapper
Sun RPC port mapper used by NFS. Often abused for DDoS amplification.
Do not expose
135TCPMS RPC
Windows RPC endpoint mapper (DCOM, WMI, Active Directory).
Do not expose
137UDPNetBIOS Name
NetBIOS name service of old Windows networking.
Do not expose
138UDPNetBIOS Datagram
NetBIOS datagram service.
Do not expose
139TCPNetBIOS Session
SMB over NetBIOS, Windows file sharing in old networks.
Do not expose
445TCPSMB
Windows file sharing. The vector of WannaCry and many ransomware outbreaks; ISPs often block it.
Do not expose
548TCPAFP
Apple Filing Protocol, file sharing on old macOS and NAS.
Do not expose
873TCPrsync
rsync daemon for file synchronisation and backups.
Do not expose
990TCPFTPS
FTP over implicit TLS.
Expose with care
2049TCP/UDPNFS
Network File System shares.
Do not expose
3260TCPiSCSI
iSCSI block storage.
Do not expose

Management and DevOps 22

161UDPSNMP
Monitoring and management of network devices. Community strings like "public" leak the whole config.
Do not expose
162UDPSNMP trap
SNMP traps: devices send alerts to the monitoring server.
Expose with care
427UDPSLP
Service Location Protocol, found on VMware ESXi and printers; exploited by ransomware and DDoS.
Do not expose
514UDPSyslog
Classic syslog log collection.
Expose with care
623UDPIPMI
Server out-of-band management (iDRAC, iLO, IPMI). Known authentication bypasses.
Do not expose
902TCPVMware ESXi
VMware ESXi host agent and remote console.
Do not expose
2375TCPDocker API
Docker daemon API without TLS: anyone who reaches it controls the host.
Do not expose
2376TCPDocker API TLS
Docker daemon API with TLS client certificates.
Do not expose
2379TCPetcd
etcd key-value store, the brain of Kubernetes clusters.
Do not expose
4369TCPErlang EPMD
Erlang port mapper (RabbitMQ, CouchDB, ejabberd clusters).
Do not expose
6443TCPKubernetes API
Kubernetes API server.
Do not expose
6514TCPSyslog over TLS
Encrypted syslog.
Expose with care
7547TCPTR-069 (CWMP)
Remote management of home routers by the ISP. Mass-exploited (Mirai).
Do not expose
8200TCPHashiCorp Vault
Vault secrets manager API.
Do not expose
8500TCPConsul
HashiCorp Consul HTTP API.
Do not expose
8728TCPMikroTik API
RouterOS API (plain).
Do not expose
8729TCPMikroTik API-SSL
RouterOS API over TLS.
Do not expose
9090TCPPrometheus / Cockpit
Prometheus server and Cockpit web console.
Do not expose
9100TCPNode exporter / JetDirect
Prometheus node exporter, and raw printing on HP JetDirect printers.
Do not expose
10000TCPWebmin
Webmin server administration panel.
Do not expose
10050TCPZabbix agent
Zabbix agent (passive checks).
Expose with care
10051TCPZabbix server
Zabbix server / proxy trapper.
Expose with care

Web and panels 16

80TCPHTTP
Unencrypted web. Today mostly redirects to HTTPS and serves Let's Encrypt validation.
Normal to expose
443TCP/UDPHTTPS
Encrypted web (TLS). UDP 443 carries HTTP/3 (QUIC). Also used by many VPNs to get through firewalls.
Normal to expose
2082TCPcPanel
cPanel hosting control panel (HTTP).
Expose with care
2083TCPcPanel SSL
cPanel over HTTPS.
Expose with care
2087TCPWHM SSL
WebHost Manager for cPanel servers.
Expose with care
2222TCPDirectAdmin / alt SSH
DirectAdmin control panel, also a common alternative SSH port.
Expose with care
3000TCPGrafana / dev servers
Default for Grafana and many development web servers (Node.js, Rails).
Expose with care
5000TCPUPnP / Synology DSM / Flask
Synology DSM web UI, UPnP control, Flask and Docker registry default.
Expose with care
5001TCPSynology DSM HTTPS
Synology DSM over HTTPS.
Expose with care
5601TCPKibana
Kibana dashboards for Elasticsearch.
Do not expose
8000TCPHTTP alt / Hikvision
Alternative HTTP port; Hikvision cameras use 8000 for their SDK.
Expose with care
8009TCPAJP (Tomcat)
Apache JServ Protocol between web server and Tomcat (Ghostcat vulnerability).
Do not expose
8080TCPHTTP alt / proxy
Common alternative HTTP port: Tomcat, Jenkins, proxies, admin panels.
Expose with care
8443TCPHTTPS alt
Alternative HTTPS: admin panels, UniFi, Plesk, proxies.
Expose with care
9000TCPPHP-FPM / Portainer / MinIO
PHP-FPM FastCGI, Portainer, MinIO, SonarQube defaults. PHP-FPM exposed means code execution.
Do not expose
15672TCPRabbitMQ management
RabbitMQ web management UI (default guest/guest).
Do not expose

Email 7

25TCPSMTP
Mail transfer between servers. Most ISPs and clouds block outbound 25 to fight spam.
Expose with care
110TCPPOP3
Mail download without encryption. Prefer POP3S on 995.
Expose with care
143TCPIMAP
Mail access without encryption (or with STARTTLS). Prefer IMAPS on 993.
Expose with care
465TCPSMTPS
Mail submission over implicit TLS for mail clients.
Normal to expose
587TCPSMTP submission
Mail submission from clients with STARTTLS and authentication.
Normal to expose
993TCPIMAPS
IMAP over TLS, the normal way mail clients read mail.
Normal to expose
995TCPPOP3S
POP3 over TLS.
Normal to expose

VPN 6

500UDPIKE (IPsec)
IPsec key exchange (IKEv1/IKEv2) for site-to-site and remote access VPNs.
Normal to expose
1194UDPOpenVPN
Default OpenVPN port (UDP, sometimes TCP).
Normal to expose
1701UDPL2TP
L2TP tunnels, normally inside IPsec (L2TP/IPsec VPN).
Expose with care
1723TCPPPTP
PPTP VPN. Its MS-CHAPv2 encryption is broken; replace with WireGuard or IPsec.
Do not expose
4500UDPIPsec NAT-T
IPsec traffic encapsulated in UDP when there is NAT on the path.
Normal to expose
51820UDPWireGuard
Default WireGuard VPN port. Silent to scanners without a valid key.
Normal to expose

Network infrastructure 20

43TCPWHOIS
WHOIS queries to registries about domains and IP addresses.
Normal to expose
53TCP/UDPDNS
Domain name system. UDP for normal queries, TCP for large answers and zone transfers.
Expose with care
67UDPDHCP server
DHCP server side: hands out IP addresses in a local network.
Do not expose
68UDPDHCP client
DHCP client side: where devices receive their address.
Normal to expose
88TCP/UDPKerberos
Kerberos authentication, the core of Active Directory logins.
Do not expose
123UDPNTP
Network time. Public NTP servers listen here; open misconfigured servers are used for DDoS amplification.
Expose with care
179TCPBGP
Border Gateway Protocol sessions between routers of different networks.
Expose with care
389TCP/UDPLDAP
Directory access (Active Directory, OpenLDAP). UDP 389 (CLDAP) is a DDoS amplifier.
Do not expose
520UDPRIP
Routing Information Protocol.
Expose with care
546UDPDHCPv6 client
DHCPv6 client side.
Normal to expose
547UDPDHCPv6 server
DHCPv6 server side.
Do not expose
636TCPLDAPS
LDAP over TLS.
Do not expose
646TCP/UDPLDP
MPLS Label Distribution Protocol.
Expose with care
853TCP/UDPDNS over TLS / QUIC
Encrypted DNS: DoT over TCP, DoQ over UDP.
Normal to expose
1812UDPRADIUS auth
RADIUS authentication for Wi-Fi, VPN and PPPoE subscribers.
Expose with care
1813UDPRADIUS accounting
RADIUS accounting (session start/stop, traffic).
Expose with care
4789UDPVXLAN
VXLAN overlay networks (data centres, Kubernetes CNIs).
Do not expose
5353UDPmDNS
Multicast DNS (Bonjour, Avahi) for local discovery; must not answer the internet.
Do not expose
5355UDPLLMNR
Windows link-local name resolution, abused for credential theft in LANs.
Do not expose
33434UDPTraceroute
Start of the UDP port range used by Unix traceroute.
Normal to expose

IoT and industrial 8

102TCPSiemens S7 (ISO-TSAP)
Siemens S7 PLC communication in industrial networks.
Do not expose
502TCPModbus TCP
Industrial Modbus without any authentication.
Do not expose
1883TCPMQTT
MQTT broker for IoT devices, unencrypted.
Do not expose
4840TCPOPC UA
OPC UA industrial automation protocol.
Do not expose
5683UDPCoAP
Constrained Application Protocol for IoT; exposed CoAP amplifies DDoS.
Do not expose
8883TCPMQTT over TLS
MQTT with TLS.
Expose with care
44818TCP/UDPEtherNet/IP
EtherNet/IP (CIP) industrial protocol, Rockwell/Allen-Bradley.
Do not expose
47808UDPBACnet
BACnet building automation (HVAC, lighting).
Do not expose

Messaging and queues 8

119TCPNNTP
Usenet news.
Normal to expose
5222TCPXMPP client
XMPP (Jabber) client connections.
Normal to expose
5223TCPApple Push
Apple Push Notification service connections from devices.
Normal to expose
5228TCPGoogle FCM / Play
Firebase Cloud Messaging and Google Play push connections.
Normal to expose
5269TCPXMPP server
XMPP server-to-server federation.
Normal to expose
5672TCPAMQP / RabbitMQ
AMQP message broker (RabbitMQ).
Do not expose
6667TCPIRC
Internet Relay Chat; also historically used by botnets.
Expose with care
9092TCPKafka
Apache Kafka brokers.
Do not expose

Video and cameras 5

554TCP/UDPRTSP
Real Time Streaming Protocol, used by IP cameras and video recorders.
Do not expose
1935TCPRTMP
Real Time Messaging Protocol for live video streaming.
Normal to expose
32400TCPPlex
Plex Media Server.
Normal to expose
34567TCPXMEye / DVR
Chinese DVR/NVR and camera cloud protocol (XMEye); full of known holes.
Do not expose
37777TCPDahua DVR
Dahua cameras and recorders service port.
Do not expose

Other 11

113TCPIdent
Ident protocol, still queried by some IRC and mail servers.
Normal to expose
515TCPLPD
Line printer daemon printing.
Expose with care
631TCP/UDPIPP / CUPS
Internet Printing Protocol and CUPS printing.
Do not expose
1080TCPSOCKS proxy
SOCKS proxy. An open one is quickly abused for spam and attacks.
Do not expose
1900UDPSSDP / UPnP
UPnP device discovery. Exposed SSDP is a major DDoS amplifier.
Do not expose
3128TCPSquid proxy
Squid HTTP proxy.
Do not expose
3690TCPSubversion
SVN version control server.
Expose with care
3702UDPWS-Discovery
Web Services Discovery used by cameras and printers; a DDoS amplifier when exposed.
Do not expose
6881TCP/UDPBitTorrent
BitTorrent peers (6881–6889).
Normal to expose
9418TCPGit
Git daemon (read-only git:// protocol).
Normal to expose
25565TCPMinecraft
Minecraft Java Edition server.
Normal to expose