Which ports are safe to expose?
The ports attackers scan for first, and what to do about each. Admin ports and databases should never face the internet — here's why, and how to check and lock them down.
20 ports
Port 21 — FTPFTP — file transfer, usually unencrypted.Port 22 — SSHSecure Shell — remote login and file transfer on Linux and network devices.Port 23 — TelnetTelnet — unencrypted remote login.Port 161 — SNMPSNMP — network device management.Port 389 — LDAPLDAP — directory services.Port 445 — SMBSMB / Windows file sharing.Port 1433 — MSSQLMicrosoft SQL Server.Port 2375 — Docker APIDocker daemon (unencrypted TCP).Port 3306 — MySQLMySQL / MariaDB database.Port 3389 — RDPRemote Desktop Protocol — graphical remote access to Windows.Port 5432 — PostgreSQLPostgreSQL database.Port 5601 — KibanaKibana — Elasticsearch dashboards.Port 5900 — VNCVNC — graphical remote desktop.Port 5984 — CouchDBCouchDB database.Port 6379 — RedisRedis in-memory data store.Port 8080 — HTTP-altAlternate HTTP — admin panels, proxies, app servers.Port 9200 — ElasticsearchElasticsearch / OpenSearch REST API.Port 11211 — MemcachedMemcached cache.Port 15672 — RabbitMQRabbitMQ management UI.Port 27017 — MongoDBMongoDB database.
See what your firewall really lets in
Free for one server, then from $49 per server a month. Start free.