Port & Protocol Lookup

MAG212 CYBER · Tools

Port & protocol lookup.

What is running on port 3389, and should it be open to the internet? Search 65 common ports for the service, the exposure risk and how to secure it.

Search ports

Risk:

PortProtocolServiceInternet exposure riskWhat to do
20-21TCPFTP (data / control)HighSends credentials and files in clear text. Replace with SFTP or FTPS; never expose to the internet.
22TCPSSH, SFTP, SCPMediumSecure remote admin, but constantly brute-forced. Use keys, disable root and password login, restrict by source IP or VPN.
23TCPTelnetCritical if exposedClear-text remote login. Disable it on every device and use SSH. A favourite target of IoT botnets such as Mirai.
25TCPSMTP (server-to-server mail)MediumNeeded by mail servers only. Block outbound 25 from user networks to stop spam bots; prevent open relaying.
49TCPTACACS+MediumNetwork device AAA. Keep on the management network; it encrypts only the payload.
53TCP/UDPDNSMediumOnly resolvers and authoritative servers should answer. Open resolvers are abused for DDoS amplification.
67-68UDPDHCP server / clientLowLAN only. Protect against rogue DHCP servers with DHCP snooping.
69UDPTFTPHighNo authentication at all. Used for device images and IP-phone configs — restrict tightly, never internet-facing.
80TCPHTTPMediumUnencrypted web. Redirect to HTTPS. Device admin pages on port 80 should be disabled or restricted.
88TCP/UDPKerberosHighActive Directory authentication. Internal only; never expose domain controllers.
110TCPPOP3HighClear-text mailbox access. Use POP3S (995) or IMAPS (993).
111TCP/UDPRPCbind / portmapperHighReveals RPC services and is used in DDoS amplification. Block at the perimeter.
123UDPNTPMediumTime sync. Disable monlist; public NTP servers have been abused for amplification attacks.
135TCPMicrosoft RPC endpoint mapperCritical if exposedWindows RPC. Never expose to the internet; heavily targeted by worms.
137-139TCP/UDPNetBIOSCritical if exposedLegacy Windows file sharing and name service. Block at the perimeter; disable where not needed.
143TCPIMAPHighClear-text mailbox access. Use IMAPS (993).
161-162UDPSNMP / SNMP trapsHighv1/v2c send community strings in clear text; 'public' defaults are common. Use SNMPv3 and restrict by ACL.
179TCPBGPMediumOnly to configured peers. Protect with TCP-AO or MD5, GTSM (TTL security) and prefix filters.
389TCP/UDPLDAPHighDirectory queries, often in clear text. Use LDAPS (636) or LDAP with StartTLS and signing; never internet-facing.
443TCPHTTPSLowEncrypted web. Keep TLS 1.2+ only. VPN and firewall admin portals on 443 are prime targets — patch fast and add MFA.
445TCPSMB (Windows file sharing)Critical if exposedExploited by WannaCry and NotPetya (EternalBlue). Never expose to the internet; disable SMBv1; require signing.
465TCPSMTPS (implicit TLS submission)LowAuthenticated mail submission over TLS.
500UDPIKE (IPsec VPN)MediumVPN key exchange. Use IKEv2 with strong proposals; disable aggressive mode.
502TCPModbusCritical if exposedIndustrial control protocol with no authentication. Must never be reachable from the internet.
514UDPSyslogMediumClear text and spoofable. Send logs over TLS (6514) where possible and restrict senders.
587TCPSMTP submission (STARTTLS)LowAuthenticated client mail submission. Require TLS and MFA-capable accounts.
623UDPIPMI / BMCCritical if exposedServer out-of-band management with known authentication flaws. Isolate on a management network.
636TCPLDAPSMediumLDAP over TLS. Internal only.
853TCPDNS over TLSLowEncrypted DNS. Watch for it if you rely on DNS filtering.
873TCPrsyncHighFrequently left open without authentication, leaking data. Tunnel over SSH.
989-990TCPFTPSMediumFTP over TLS. Better than FTP, but SFTP is simpler to firewall.
993TCPIMAPSLowEncrypted mailbox access. Enforce MFA or modern authentication.
995TCPPOP3SLowEncrypted POP3.
1080TCPSOCKS proxyHighOpen proxies are abused to hide attackers' traffic. Require authentication or close.
1194UDPOpenVPNMediumVPN. Keep patched and use certificate plus MFA authentication.
1433TCPMicrosoft SQL ServerCritical if exposedDatabases must not be internet-facing. Brute-forced and exploited constantly.
1521TCPOracle database listenerCritical if exposedInternal only.
1645-1646, 1812-1813UDPRADIUSMediumAAA for VPN, Wi-Fi (802.1X) and network devices. Use strong shared secrets or RadSec.
1723TCPPPTP VPNCritical if exposedPPTP/MS-CHAPv2 is cryptographically broken. Replace with IKEv2/IPsec, WireGuard or SSL VPN.
1883TCPMQTTHighIoT messaging, often without authentication. Use 8883 with TLS and credentials.
2049TCP/UDPNFSHighNetwork file system. Internal only, with export restrictions.
2375-2376TCPDocker APICritical if exposedPort 2375 is the unauthenticated Docker API — full control of the host. Never expose; use 2376 with mutual TLS.
3128TCPSquid / HTTP proxyHighOpen proxies are abused. Require authentication.
3306TCPMySQL / MariaDBCritical if exposedDatabases must not be internet-facing.
3389TCP/UDPRDP (Remote Desktop)Critical if exposedA leading ransomware entry point. Never expose directly; put it behind a VPN or gateway with MFA and enable NLA.
4500UDPIPsec NAT traversalMediumPart of IPsec VPNs (with UDP 500).
4786TCPCisco Smart InstallCritical if exposedUnauthenticated; abused by nation-state actors to take over switches. Disable with 'no vstack'.
5060-5061TCP/UDPSIP (VoIP)HighTargeted for toll fraud. Use 5061 (TLS), strong passwords and a session border controller.
5432TCPPostgreSQLCritical if exposedDatabases must not be internet-facing.
5800, 5900TCPVNCCritical if exposedRemote desktop, often with weak or no passwords. Tunnel through a VPN or SSH.
5985-5986TCPWinRM (PowerShell remoting)HighWindows remote management. Internal only; prefer HTTPS (5986).
6379TCPRedisCritical if exposedOften deployed without authentication; mass-exploited for cryptomining. Bind to localhost or require auth.
6514TCPSyslog over TLSLowEncrypted log transport.
8080, 8443TCPAlternate HTTP / HTTPSMediumOften admin panels, proxies or dev servers. Inventory what is listening and restrict.
8291TCPMikroTik WinboxCritical if exposedRouter management, targeted by botnets. Restrict to management networks.
8883TCPMQTT over TLSMediumSecure IoT messaging; still require client authentication.
9100TCPRaw printing (JetDirect)HighPrinters accept jobs and sometimes commands with no authentication. Internal only.
9200TCPElasticsearchCritical if exposedBehind thousands of data leaks. Never expose; enable security features.
10000TCPWebmin / NDMPHighServer admin panels. Restrict and patch.
11211UDP/TCPMemcachedCritical if exposedUsed for record-breaking DDoS amplification. Disable UDP and never expose.
20000TCPDNP3Critical if exposedUtility/SCADA protocol. Isolate in the OT network.
27017TCPMongoDBCritical if exposedExposed instances have been wiped and ransomed by the thousand. Require auth and bind internally.
44818TCP/UDPEtherNet/IP (CIP)Critical if exposedIndustrial automation protocol. Isolate in the OT network.
47808UDPBACnetCritical if exposedBuilding automation (HVAC, access control). Never internet-facing.
51820UDPWireGuardLowModern VPN. Keep keys protected and rotate when staff leave.

How to use this

  • “Critical if exposed” means the service should never be reachable from the internet. If a scan shows it open externally, treat it as an incident until proven otherwise.
  • Find what’s open with the Nmap command builder (on networks you’re authorised to scan), then look each port up here.
  • Default-deny inbound at the firewall and open only what has a documented business need and an owner.
  • Port numbers are conventions: attackers and admins run services on non-standard ports, so use nmap -sV to identify what is really listening.

⚖️ For education and use on systems you own or are authorised to test. Results are automated guidance, not a professional audit. See our terms of use and privacy policy.

Need expert help?

MAG212 CYBER offers network and cybersecurity consultation, plus security seminars for organisations around the world.

Explore our services →