Public addresses are easy to find at scale: masscan, an open-source scanner, advertises scanning the entire internet from a single machine. An unusual port or a forgotten address is no hiding place. The useful question is which of your open ports matter, what they could let a stranger do, and what to fix first.
This guide answers that question port by port, with the list FortWatch itself uses. Every port number FortWatch knows has a starting grade: critical, high, medium, low or info. What the scan learns about the service can move it from there, and the section on how the list is made says how. A finding graded low or above can open an issue in the product or update one; an info finding does not open one, and an issue you dismissed stays dismissed.
The short version: FortWatch starts many database, container control, cluster control and industrial ports at critical, along with Windows file sharing, Telnet and FTP, because of what those services can give away. Remote access and admin panels start high. An open port shows that a service can be reached, not that a stranger can get in; the grade says how much is at stake if they can.
How FortWatch rates an open port
FortWatch records every open port its scan finds, apart from the Cloudflare edge ports described below, and grades each one: first by the port number, then by what it learns about the service. A port in none of the lists starts low, because an open port nobody can name is something to go and look at, never something to ignore.
The scan is nmap run from the outside, the same view an attacker has: all 65,535 TCP ports of each asset by default, or the top 1,000 in the faster scan profile, with service and version detection. It runs on the schedule of each asset and only against addresses you have proven are yours.
What raises a rating
- The service, wherever it listens. When the scan recognises the service, the service's grade replaces the port's. MongoDB on port 9876 is as critical as MongoDB on 27017, and Jenkins is critical on 8080 even though 8080 alone is medium. The scan reads nmap's fingerprint, the HTTP server header and page title, the banner a service sends when you connect, and for MongoDB, which says nothing until spoken to, a protocol probe. A confirmed Kafka broker, RabbitMQ, php-fpm, Docker API, Kubernetes API, ZooKeeper, Portainer or Rancher is critical on any port.
- A known vulnerability in the product and version nmap reports. FortWatch looks them up in OSV.dev. A critical or high match renames the finding and raises a lower grade, for example "Outdated nginx 1.20.1 on 443/tcp — 6 known CVEs (worst: high)". A match means the reported version is listed as vulnerable. It does not prove that your build lacks the fix, or that the flaw can be used on your server.
What lowers a rating
- A likely mail server. When three or more of 25, 110, 143, 465, 587, 993 and 995 are open on one host, FortWatch takes it for a mail server and starts those ports at info. It is a guess from the shape of the host, not a check of its settings. Later checks can raise a port again: the port hints put plaintext POP3 on 110 and IMAP on 143 back at high, unless something has already raised them higher.
- Port 25 on the host your MX record names. SMTP starts high, since a mail listener no MX record points at may be forgotten or misconfigured. When an MX record of your domains points at the host, and nothing else has changed the grade, it drops to medium. No matching record, or one that could not be read, keeps it high; that is not a test for an open relay.
- Port 80 that only redirects. If port 80 is still graded low, FortWatch asks it for the home page and for a path that cannot exist. When both answer with a redirect to an
https://address, the grade drops to info. It is a two-request check, not a crawl of the site. - Ports a CDN owns. On an asset marked as behind Cloudflare, the ports Cloudflare's edge answers on (80, 443, 2052, 2053, 2082, 2083, 2086, 2087, 2095, 2096, 8080, 8443, 8880) are left out: they belong to Cloudflare, not to your server.
One more thing can lower a grade, and it is worth knowing: when nmap names the service at the start, that service's grade replaces the port's. Grafana found on port 8088, which starts critical, comes out high. After that, the HTTP check, the banner probe and the version lookup only raise a grade, and the mail and redirect rules above are the only ones that lower it. A port hint can also put a lowered grade back to the port's starting grade; the title then says "Possibly exposed … — service not confirmed". Asking for a password does not lower a grade on its own.
What the scan cannot see
- UDP. The scan is TCP. Services that live on UDP, such as SNMP on 161/udp, NTP, DNS amplification, BACnet on 47808 or the
cups-browsedlistener on 631/udp, are out of its reach. - Beyond the top 1,000 in the fast profile. An asset scanned with the fast profile is checked on nmap's 1,000 most common ports only. Industrial equipment and unusual services need the full scan.
- What the service allows. FortWatch sees a service answer and names it. It does not log in, run commands or read data to prove the exposure; the rating says what an attacker could try, not what they have done.
- Access from elsewhere. The scan tells you what FortWatch's servers can reach. A port your firewall opens only to your office may show as closed or filtered to it, while your office can still connect.
The tables below hold every port number FortWatch gives a starting grade; a port that is not in them starts low. These are starting grades: what answers on the port, a known vulnerability or one of the rules above can change the final one.
The whole list at a glance
| Grade | Ports | What they have in common |
|---|---|---|
| Critical | 21, 23, 139, 445, 873, 1433, 1521, 1525, 1526, 2375, 2379, 3306, 4369, 4505, 4506, 5432, 5984, 6379, 7000, 7001, 8086, 8088, 9042, 9200, 10250, 11211, 27017, 27018, 27019, 50070, 50075; industrial: 102, 502, 789, 1911, 1962, 2404, 2455, 9600, 18245, 18246, 20256, 20547, 44818 | Data, a shell or a machine's controls, often with no password in the way |
| High | 22, 25, 110, 111, 143, 161, 162, 512, 513, 514, 623, 631, 664, 1099, 2049, 2077–2080, 2082, 2083, 2086, 2087, 2095, 2096, 2222, 2376, 2380, 3389, 5000, 5443, 5601, 5672, 5800–5999 except 5984, 5938, 6443, 7199, 7474, 7687, 8005, 8009, 8161, 8200, 8447, 8500, 9000, 9090, 9091, 9092, 9300, 9999, 10000, 10255, 15671, 15672, 20000, 61616; industrial: 4840, 4911 | Remote access, admin panels, cluster and broker APIs, plaintext logins: data or control, depending on settings and permissions |
| Medium | 53, 67, 68, 69, 123, 465, 587, 1900, 3000, 3001, 3030, 3128, 4000, 4001, 4040, 4190, 5001, 5050, 5060, 5061, 8000–8003, 8008, 8080, 8081, 8082, 8090, 8443, 8888, 9001, 9002 | Web servers on other ports, development servers, and network services that belong inside |
| Low | 80, 993, 995, and every port in no list | Public services on their standard ports, or a service nobody has identified yet |
| Info | 443; port 80 that passes the redirect check; mail ports on a likely mail server | What the asset is for; no issue is opened |
Critical: data or control at stake
These ports start critical because of the services that usually run on them. An instance without a working login, or with a known flaw, can give away its data or control of the machine; the open port alone does not show what a particular instance allows.
Databases and caches
| Port | Usually | Grade |
|---|---|---|
| 3306 | MySQL / MariaDB | Critical |
| 5432 | PostgreSQL | Critical |
| 1433 | Microsoft SQL Server | Critical |
| 1521, 1525, 1526 | Oracle TNS listener | Critical |
| 27017, 27018, 27019 | MongoDB | Critical |
| 6379 | Redis | Critical |
| 9200 | Elasticsearch (HTTP) | Critical |
| 5984 | CouchDB | Critical |
| 7000, 7001, 9042 | Cassandra | Critical |
| 8086 | InfluxDB (HTTP) | Critical |
| 11211 | Memcached | Critical |
Why an attacker wants it. If a database's access controls do not stop a stranger, its data can be read, changed or emptied with its own ordinary commands. Some go further than data: Redis documents how access to its configuration commands lets a client write files, which can end in code execution as the Redis user, and SQL Server's xp_cmdshell, off by default, runs operating system commands once it is turned on and the caller is allowed to use it. Memcached adds a harm to other people: when its UDP side is reachable, it answers small requests with huge replies, and CISA lists its bandwidth amplification factor at 10,000 to 51,000. FortWatch's scan covers TCP, so it does not test that UDP side.
Why FortWatch rates it critical. None of these needs to face the internet to do its job: the application talks to its database, not the world. The safe defaults point the same way. MongoDB binds to localhost by default, Elasticsearch has turned security on by default the first time it starts since 8.0, and Redis says plainly that it is designed to be accessed by trusted clients inside trusted environments. A database on a public address deserves a look however it got there, and the grade does not drop because it asks for a password: check the network limits, the login, TLS and the version together.
The fix. Bind the service to localhost or the private interface, and let the application reach it over the private network. If something outside must connect, allow only its addresses at the firewall, and require a password and TLS on the service as well. The exposed databases guide walks through each engine's defaults and the one-line checks, and exposed Redis on port 6379 covers the file-write attack and the full Redis hardening.
File sharing and plaintext logins
| Port | Usually | Grade |
|---|---|---|
| 21 | FTP | Critical |
| 23 | Telnet | Critical |
| 139, 445 | SMB / NetBIOS (Windows file sharing) | Critical |
| 873 | rsync | Critical |
Why an attacker wants it. Plain FTP and Telnet can give away passwords on the way. FTP can run over TLS, but the original protocol sends them unencrypted: the IETF's FTP security considerations note that FTP sends passwords in clear text, and CISA warns that FTP and Telnet transmit credentials in cleartext. Anonymous FTP and loose rsync modules hand out files to anyone who asks. SMB on 445 is the port behind some of the worst incidents on record: the SMBv1 flaw Microsoft fixed in MS17-010 let attackers run code without signing in, and the WannaCry ransomware spread through it across networks worldwide.
Why FortWatch rates it critical. Set up loosely, these services give away passwords in transit or files without a login, and SMB has a history of flaws that run code before anyone signs in. There is a modern replacement for every one: SFTP for FTP, SSH for Telnet, a VPN or a cloud share for SMB.
The fix. Turn Telnet off. Replace FTP with SFTP. Never expose SMB to the internet; reach file shares over a VPN. Give rsync modules authentication and run them over SSH.
Containers, clusters and configuration masters
| Port | Usually | Grade |
|---|---|---|
| 2375 | Docker daemon API, plaintext | Critical |
| 2379 | etcd client API | Critical |
| 10250 | Kubelet API | Critical |
| 4505, 4506 | SaltStack master | Critical |
| 4369 | Erlang port mapper (epmd) | Critical |
| 8088, 50070, 50075 | Hadoop YARN and HDFS | Critical |
Why an attacker wants it. These ports run the machines that run everything else. Docker's own documentation warns that only trusted users should be allowed to control the Docker daemon, because control of the daemon is control of the host: an unprotected 2375 lets a stranger start a container that mounts the host's disk. Its remote-access guide adds that without steps to secure the connection, "remote non-root users" can "gain root access on the host". An open port alone does not say which version or settings are behind it. etcd holds a Kubernetes cluster's state and secrets. The kubelet on 10250 runs commands in the node's containers; started with its command-line defaults, it accepts anonymous requests and authorizes them all, so check how yours is set up. A SaltStack master pushes commands to every server it manages, and CVE-2020-11651 let anyone who reached it run them. The Erlang port mapper names the nodes of a RabbitMQ or Elixir system, and Erlang's own documentation warns that a node running without TLS distribution is open to attacks "that may give the attacker complete access to the node". Hadoop runs with no authentication in its default configuration, so an open YARN resource manager takes jobs, which is code execution on the cluster, from whoever reaches it.
Why FortWatch rates it critical. These ports run the machinery under everything else: containers, cluster state, configuration. What a stranger can do depends on the service and its access controls. Reaching the port does not prove they can take over the hosts behind it, but that is what is at stake, and none of these services needs to face the internet.
The fix. Keep these services on private networks, with a host firewall or cloud security group in front. Reach Docker through its local socket, SSH or mutual TLS. Let only the cluster's own components reach etcd and the kubelet, turn anonymous access off and require authentication and authorization. Keep Salt, Erlang and Hadoop on internal addresses.
Industrial controllers
| Port | Usually | Grade |
|---|---|---|
| 102 | Siemens S7 | Critical |
| 502 | Modbus/TCP | Critical |
| 789 | Red Lion Crimson | Critical |
| 1911 | Niagara Fox (building automation) | Critical |
| 1962 | Phoenix Contact PCWorx | Critical |
| 2404 | IEC 60870-5-104 telecontrol | Critical |
| 2455 | CODESYS runtime | Critical |
| 9600 | OMRON FINS | Critical |
| 18245, 18246 | GE SRTP | Critical |
| 20256 | Unitronics PCOM | Critical |
| 20547 | ProConOS runtime | Critical |
| 44818 | EtherNet/IP (CIP) | Critical |
| 4840 | OPC UA | High |
| 4911 | Niagara Fox over TLS | High |
Why an attacker wants it. These protocols drive pumps, valves, chillers and production lines, and most carry no sign-in of their own. Without working access protection, whoever reaches the port may be able to read or change setpoints and the controller's logic, depending on the device and protocol. This is not theoretical: in late 2023 CISA reported attackers taking over internet-exposed Unitronics controllers, used in water systems among others, through default passwords on TCP port 20256.
Why FortWatch rates it critical, and two of them high. A controller on the internet puts a physical process one connection away from a stranger. OPC UA and Niagara Fox over TLS start high because both have security settings of their own; check how yours are set. For OPC UA, the OPC Foundation's specification defines the message security mode None as "No security is applied"; Sign signs messages without encrypting them, and SignAndEncrypt does both. FortWatch recognises these protocols by the service nmap identifies on any port, and by the port when nothing answers clearly; it sees the controller answer and does not test what it allows.
The fix. Take the controller off the internet. Admit only the control network at the firewall, reach it remotely through a VPN with multi-factor sign-in, change every default panel password, and check the logic and setpoints for changes you did not make.
High: remote access, admin panels and plaintext mail
A high port usually leads to remote access, an admin panel or an internal service. What a stranger can do there depends on its settings and permissions, and some of these give control of the whole system.
Remote access
| Port | Usually | Grade |
|---|---|---|
| 22 | SSH | High |
| 2222 | DirectAdmin, or SSH on another port | High |
| 3389 | Remote Desktop (RDP) | High |
| 5800–5899, 5900–5999 except 5984 | VNC and its web viewer | High |
| 5938 | TeamViewer | High |
Why an attacker wants it. A remote login is the front door to a server, and password guessing against SSH and RDP never stops on the internet. RDP has also had flaws that needed no password at all: Microsoft called CVE-2019-0708, known as BlueKeep, pre-authentication and "wormable", and the FBI has warned that criminals exploit open RDP ports to steal credentials and deploy ransomware. Check how your VNC server asks for a password before you let anyone reach it.
Why FortWatch rates it high and not critical. SSH and RDP do ask for credentials, and SSH with keys only is a sound way to run a server. The scan cannot tell from the outside whether passwords are allowed, so it assumes the worse case and grades high: the door is real, and so is the lock.
The fix. Put remote access behind a VPN or an allowlist of your own addresses. On SSH, turn off password and root logins and use keys. On RDP, require Network Level Authentication and multi-factor sign-in, and never leave it open to the whole internet. Replace VNC on public addresses with a tunnel.
Hosting control panels
| Port | Usually | Grade |
|---|---|---|
| 2082, 2083 | cPanel | High |
| 2086, 2087 | WHM (cPanel's server admin) | High |
| 2095, 2096 | cPanel webmail | High |
| 2077–2080 | cPanel WebDisk and helpers | High |
| 10000, 20000 | Webmin, Usermin | High |
| 8447 | Plesk updates | High |
Why an attacker wants it. A control panel can create accounts, read every site's files and change DNS. WHM in particular administers the whole server, and Webmin's own security page records a 2019 backdoor in version 1.890 that "could allow anyone with knowledge of it to execute commands as root". The login pages are brute-force targets day and night.
Why FortWatch rates it high. The panel is meant to be used, but by a handful of people, not the internet. On an asset marked as behind Cloudflare, 2082, 2083, 2086, 2087, 2095 and 2096 are Cloudflare's own edge ports and are left out, as described above; 2077 to 2080 are not.
The fix. Reach panels from your own addresses only, turn on two-factor sign-in, and keep the panel software updated. If the panel offers a setting to limit admin logins by IP address, use it.
Cluster, monitoring and secrets APIs
| Port | Usually | Grade |
|---|---|---|
| 6443 | Kubernetes API server | High; critical when confirmed |
| 2376 | Docker daemon API over TLS | High; critical when confirmed |
| 2380 | etcd peer traffic | High |
| 10255 | Kubelet read-only API | High |
| 8500 | Consul | High |
| 8200 | HashiCorp Vault | High |
| 9090 | Cockpit or Prometheus | High |
| 5601 | Kibana | High |
| 9300 | Elasticsearch node-to-node | High |
Why an attacker wants it. These APIs describe and steer the infrastructure. A Kubernetes API with loose permissions is the cluster; Consul's catalog and key-value store map every service; Kibana fronts Elasticsearch, so a way past Kibana is a way into the data; Cockpit administers the server from a browser, terminal included. Even when they ask for credentials, they tell a stranger exactly what you run.
Why FortWatch rates it high. The port alone says "control plane, probably with authentication". When the scan confirms the Docker API or the Kubernetes API itself, the grade rises to critical, as for 2375 and 10250.
The fix. Serve these on private addresses, put the human-facing ones (Kibana, Cockpit, Consul's UI) behind a VPN or an identity-aware proxy, and enforce client certificates on the cluster APIs.
Message brokers and Java management
| Port | Usually | Grade |
|---|---|---|
| 5672 | AMQP (RabbitMQ) | High; critical when confirmed |
| 15671, 15672 | RabbitMQ management | High |
| 9092 | Kafka broker | High; critical when confirmed |
| 8161, 61616 | ActiveMQ console and broker | High |
| 1099, 7199, 9999 | Java RMI / JMX | High |
| 8005, 8009 | Tomcat shutdown port and AJP | High |
Why an attacker wants it. A broker carries the messages between your systems: orders, events, sometimes credentials. Management consoles have shipped with well-known default accounts; RabbitMQ now lets its default guest user connect only from localhost. Lift that restriction on a public instance and leave the password as guest, and anyone who knows the default can sign in. Java's RMI and JMX ports manage a running application from the outside, which is exactly what a stranger should not be able to do. Tomcat's AJP connector, on 8009 in its default configuration, was the way in for Ghostcat (CVE-2020-1938): Tomcat shipped it enabled on all addresses, and it let an attacker read any file inside the web application.
Why FortWatch rates it high. These are internal plumbing with a login of varying strength. A confirmed Kafka broker or RabbitMQ is graded critical wherever it answers, because the data in it is the business.
The fix. Keep brokers and their consoles on the private network, change every default account, and turn off AJP when no web server in front needs it.
Network services that belong inside
| Port | Usually | Grade |
|---|---|---|
| 111 | RPC portmapper | High |
| 2049 | NFS | High |
| 161, 162 | SNMP (when it answers on TCP) | High |
| 623, 664 | IPMI / server management controller | High |
| 631 | IPP / CUPS printing | High |
| 512, 513, 514 | rexec, rlogin, rsh | High |
Why an attacker wants it. These were built for trusted local networks. An NFS export can hand out a whole file system; the portmapper lists what else runs. SNMP versions 1 and 2c guard a device with a community string; a default one such as public, or an empty or missing one, is a known weakness of its own, and CISA has warned that SNMP is abused to gain unauthorized access to network devices. IPMI is the out-of-band management of a server's hardware: CISA warns that internet-facing IPMI interfaces often use default or no passwords, and the protocol's own sign-in hands out password hashes an attacker can crack offline. The printing system on 631 was part of the 2024 CUPS chain, whose cups-browsed piece trusted any packet from any source and accepted UDP datagrams on 631 from anybody; FortWatch sees the TCP side of that port. The r-commands send everything in the clear: rexec sends a username and password, and rlogin and rsh let users in without a password when their rules trust the host and user they come from.
Why FortWatch rates it high. None of these has a reason to answer the internet, and each one either leaks the system's layout or opens a path into it.
The fix. Close them at the edge. Reach IPMI over a dedicated management network or VPN, move SNMP to version 3 with its own credentials, and turn off rexec, rlogin and rsh.
Mail, and port 25
POP3 on 110 and IMAP on 143 start high because they can carry passwords unencrypted; their TLS forms, 995 and 993, start low. Port 25 starts high and drops to medium on the host an MX record of your domains names, but only while its grade still comes from the port number alone. High does not mean FortWatch found an open relay: a domain with no MX record can still receive mail, because SMTP falls back to the domain's own address. Three or more mail ports open on one host start at info, and later checks can raise them. Whatever the grade, check authentication, TLS and relay limits.
The rest of the high list
| Port | Usually | Grade |
|---|---|---|
| 9000 | php-fpm | High; critical when confirmed |
| 5000 | Docker registry or Flask development server | High |
| 5443 | Docker registry over TLS | High |
| 7474, 7687 | Neo4j | High |
| 9091 | Transmission's remote control | High |
PHP's documentation warns that "an exposed FastCGI endpoint allows arbitrary code execution" and recommends a Unix socket or a list of allowed clients; FortWatch grades a recognised php-fpm critical. A Docker registry can hand out or accept images. Port 5000 may also be a Flask development server; the number alone does not say which. Neo4j's HTTP and Bolt ports are its database's own front door. Transmission's remote control asks for no password by default and relies on an address allowlist instead; on a public address with the allowlist off, anyone can drive the host's downloads.
Medium: web servers on other ports, development servers and inside services
| Port | Usually | Grade |
|---|---|---|
| 3000, 3001, 3030, 4000, 4001, 5001 | Development servers (Node, Rails and the like) | Medium |
| 4040, 5050 | Spark UI, Mesos | Medium |
| 8000–8003, 8008, 8080, 8081, 8082 | Web servers on other ports | Medium |
| 8443 | HTTPS on another port, or Plesk | Medium |
| 8888 | Jupyter and others | Medium |
| 8090 | Confluence | Medium |
| 53, 67, 68, 69, 123, 1900 | DNS, DHCP, TFTP, NTP, UPnP | Medium |
| 465, 587, 4190 | Mail submission, Sieve | Medium |
| 5060, 5061 | SIP (VoIP) | Medium |
| 3128 | Squid proxy | Medium |
| 9001, 9002 | Supervisor, or a Tor relay | Medium |
Why an attacker wants it. A web server on 8080 or 3000 may be the site you meant to publish, or it may be the staging copy, an admin back end or a development tool. Find out which before deciding it belongs there. Jupyter shows what can be at stake: its documentation warns that "access to the Jupyter Server means access to running arbitrary code". Confluence on 8090 was hit by CVE-2022-26134, an unauthenticated remote code execution flaw. DNS, NTP and SSDP (UPnP) can be turned into DDoS amplifiers when misconfigured; DHCP and TFTP belong on a local network; an open proxy relays other people's traffic.
Why FortWatch rates it medium. The port number says "something web-like or network-like that may be fine", so it starts in the middle. What answers decides the rest: Jenkins on 8080 is critical, Grafana or an Adminer database page is high, and a plain site stays medium until you decide it belongs there. These are also the ports forgotten environments live on, the subject of the hidden risk of shadow IT, and the kind of internal API that cost Radware its customers' log keys, as told in an internal API with no login.
The fix. Serve the public site on 443 and nothing else. Put staging and admin interfaces behind a VPN, an identity-aware proxy or at least a login of their own; never run a development server on a public address; and keep DNS resolvers, NTP and proxies answering only your own networks.
Low and info: what a public server is supposed to have
Port 443 starts at info, since HTTPS is what a web server is for; a recognised service or a known vulnerability can raise it. Port 80 starts low and drops to info when it passes the redirect check, unless something else raised it; a site that does not redirect at all gets its own finding from the security headers check. IMAPS on 993 and POP3S on 995 are low: encrypted mail access on its standard ports, worth a look at the certificate and the TLS versions. Every port in no list is low too, with the service named when the scan can name it, because an unidentified listener is something to look at, not to hide.
Low does not mean safe. An open 443 can still serve an exposed .env file or an end-of-life runtime that announces its version; those are findings of the other checks, and end-of-life software explains how a version leaks from an ordinary web response. And some exposures have no port of your own at all: a public cloud bucket lives on the provider's addresses.
Why a rating follows the service, not the number
Port numbers are conventions, not laws. A database moved to an unusual port to "hide" it is still a database, and attackers' scanners fingerprint services on every port they find open. So FortWatch does the same:
- nmap names the service first, from the service's own answer or, failing that, from a table of usual port numbers. A name from the table is not shown as the service in the title, but it can still match one of FortWatch's dangerous-service rules.
- The HTTP server header and page title name web tools. On ports above 1023 still graded medium or lower, FortWatch reads them and recognises Jenkins, Grafana, Kibana, Adminer and other tools.
- Banners and a probe name the rest. When the HTTP check records neither a recognised service nor a server header, FortWatch connects to ports still graded medium or lower, and to port 25 at its starting grade. It reads the greeting, sends a blank line to coax a reply, and recognises SSH, FTP, SMTP, MySQL, PostgreSQL, Redis and others in what comes back. If nothing matches, it asks MongoDB directly, which answers even before sign-in.
- The version is checked for known flaws. nmap's product and version are looked up in OSV.dev, and a critical or high match raises a lower grade.
A port the scan cannot identify keeps the grade its number gives it. For the industrial ports, and where a port hint put a grade back, the title says so: "Possibly exposed … — service not confirmed".
How to check your own ports
Ask from outside. FortWatch's free open port checker tests a port on your own IP address, or 25 of the risky ports above at once, from FortWatch's server, and tells you whether each is open, closed or filtered from the internet.
Scan what you own with nmap. From a machine outside your network,
nmap -Pn -p- your.ip.addresschecks every TCP port, andnmap -Pn -sV -p 22,3306,6379 your.ip.addressnames the services on the ones it finds. Scan only addresses you are responsible for. The port scanning glossary entry explains open, closed and filtered.See what the internet has already recorded. Search engines such as Shodan index open ports and banners continuously; how to find your company on Shodan takes fifteen minutes and shows what an attacker's first search returns.
Check the bind address on the host.
ss -tlnpon Linux lists every listening TCP socket with the address it is bound to.127.0.0.1is the machine itself;0.0.0.0listens on every IPv4 address the machine has, and::on every IPv6 one, often IPv4 too. Whether the internet can reach it still depends on routing, port forwarding and the firewall.
The fix, in the order to try it
Turn it off. A service nobody uses is the cheapest port to close.
Bind it to the inside. Make the service listen on localhost or a private interface, and check that no public proxy, port forward or cloud address mapping leads to it. Keep the firewall rule as well.
Allow only who needs it. A firewall or cloud security group that admits your own addresses turns a public port into a private one.
Put people behind a VPN or an identity-aware proxy with multi-factor sign-in. Remote access, admin panels and internal web tools all fit here.
Require authentication and TLS on the service itself. Do this as well as the steps above, not instead of them.
Patch what must stay public. A service on the internet has to stay current; a critical or high CVE on its banner is the reminder.
Keep watching. Ports reopen. A new deploy, a copied security-group rule, a container published with
-pinstead of127.0.0.1:, or a debugging change nobody reverted can expose a port again without anyone touching the service.
Common questions
Which open ports are the most dangerous?
The ones that can give away data or control when no login stops a stranger, or a flaw gets them past it: databases and caches (3306, 5432, 1433, 27017, 6379, 9200, 11211 and the rest of the critical list), the Docker API on 2375, etcd on 2379, the kubelet on 10250, Windows file sharing on 445 and 139, Telnet on 23, FTP on 21 and industrial controllers such as Modbus on 502. All of them start critical in FortWatch; an open port alone does not prove anyone can get in without a password.
Is it dangerous to have port 22 open?
It is a risk worth managing, which is why FortWatch grades SSH high rather than critical. SSH with password logins turned off and keys only is a sound setup; SSH open to the whole internet with passwords allowed is a standing invitation to guess them. Limit who can reach it, turn off passwords and root logins, and the grade reflects a door you chose to keep.
Is port 80 open a problem if my site uses HTTPS?
Usually not, if it only redirects. FortWatch asks port 80 for the home page and for a random path; when both redirect to https://, a low finding drops to info. A port 80 that fails the check stays low, and one raised by a recognised service or a known vulnerability is not lowered. Two answers are a good sign, not proof that every path redirects.
Why does FortWatch flag a port I need?
Because every open port is part of what an attacker sees, including the ones you need. If a port is expected, dismiss its issue with the reason, and it stays dismissed; if the same port opens on another asset, or a new port opens later, that is a new issue. Mail ports on a mail server, port 25 on the server your MX record names, and port 80 that only redirects are graded down for you.
Does a firewall or a CDN make an open port safe?
A firewall allowlist limits which addresses can connect. If FortWatch's scanning address is not on it, the scan may see the port as closed or filtered. A CDN only covers the ports it answers on. On an asset marked as behind Cloudflare, FortWatch leaves out Cloudflare's edge ports, but it does not find the origin server behind the CDN by itself: add the origin's address as an asset of its own to check its ports.
How often should I scan my public addresses?
As often as you deploy, because exposure comes back with changes. FortWatch scans on the schedules you set, daily ones on Pro and above and weekly or monthly ones on Essential. It emails new critical and high issues to teammates with a verified address, as their alert settings say.
What do I do with this?
List your public addresses. Every server, load balancer and cloud instance with a public IP, and every domain pointing at them. The external attack surface management guide covers finding the ones nobody wrote down.
Check each one from outside. Use the open port checker for a quick look at your own address, or nmap with
-p-on addresses you own.Close every critical port today. Databases, Docker, etcd, kubelet, SMB, Telnet, FTP and industrial protocols should not answer the internet. Bind them to the inside or firewall them.
Put every high port behind a VPN or an allowlist this week. SSH with keys only, RDP never open to everyone, control panels reachable from your own addresses.
Decide on each medium port. Publish it on purpose, with a login and TLS, or take it off the public address.
Keep watching. FortWatch port monitoring scans each verified asset on its schedule, every TCP port in the full profile or the top 1,000 in the fast one, grades what it finds with the rules above, and emails new critical and high issues to your teammates as their alert settings say. Ask FortWatch AI about any issue to have it explained, with the fix.
