Port Check

Check whether ports on a server are open, closed, or filtered. Free port scanning tool.

PORT CHECK

Quick select:

Web:
Email:
Database:
Remote Access:

Port scanning makes TCP connection attempts to the target server. Results are not stored on Secunnix servers.

What Is a Port and Why Does It Matter?

A port is a virtual gateway where specific services communicate on computer networks. Each network connection is identified by an IP address and port number combination.

What Is a Port?

Ports are numbered 1–65535 and work over TCP or UDP protocols. Open ports allow your server's services to communicate with the outside world.

Security Risk

Unnecessary open ports widen your attack surface. Each open port is a potential entry point; SSH, RDP, and database ports are especially critical.

Port States

Open: service accepting connections. Closed: reachable but no service. Filtered: firewall blocking — the safest state.

Protection Tips

Close unused ports, change the SSH port, close database ports to external access, and perform regular port scans.

What Is a Port and Why Does It Matter?

A port is a virtual gateway where specific services communicate on computer networks. Each network connection is identified by an IP address and port number combination. Ports are numbered 1–65535 and work over TCP or UDP protocols.

Open ports allow your server's services to communicate with the outside world. However, unnecessary open ports create security risks. This tool lets you quickly check port status on any server.

Common Ports and Services

PortProtocolServiceDescription
80TCPHTTPWebsites (unencrypted)
443TCPHTTPSWebsites (SSL/TLS encrypted)
22TCPSSHSecure remote access and file transfer
21TCPFTPFile transfer (unencrypted)
25 / 587TCPSMTPEmail sending
53TCP/UDPDNSDomain name resolution
3306TCPMySQLMySQL database
5432TCPPostgreSQLPostgreSQL database
3389TCPRDPWindows Remote Desktop
8080TCPHTTP AltAlternative web server, proxy

Port States: Open, Closed, Filtered

StateMeaningSecurity
OpenA service is actively accepting connections on this portNormal for expected services; risky if unnecessary
ClosedPort is reachable but no service is listening — connection refusedGenerally safe; provides network visibility
FilteredFirewall is blocking packets — no accept or reject responseSafest state; attackers cannot even detect the port

6 Golden Rules for Port Security

  1. Close unused ports: Only keep ports you need open in your firewall. Every open port is a potential attack vector.
  2. Change the SSH port: Moving from default port 22 to a custom port greatly reduces automated brute-force attacks.
  3. Close database ports externally: MySQL (3306), PostgreSQL (5432), Redis (6379) should never be directly exposed to the internet.
  4. Review firewall rules regularly: Rules accumulate over time. Audit your firewall rules quarterly.
  5. Keep port-listening services updated: Software on open ports may contain vulnerabilities. Regular updates are critical.
  6. Restrict access with VPN: Make remote access ports (SSH, RDP, VNC) accessible only through VPN.

Resources & References

Frequently Asked Questions

What is a port?

A port is a virtual gateway where specific services communicate on computer networks. Each port has a number between 1–65535. Websites typically communicate over port 80 (HTTP) or 443 (HTTPS).

What do open, closed, and filtered mean?

Open: service accepting connections. Closed: reachable but no service listening. Filtered: firewall blocking — no accept or reject response, usually times out.

Do open ports create security risks?

Yes, unnecessary open ports widen your attack surface. Especially SSH (22), RDP (3389), database ports (3306, 5432) are serious risks if exposed externally.

How can I close my ports?

On Windows use Windows Defender Firewall, on Linux use iptables or ufw, on macOS use the built-in firewall. Cloud servers use security group rules.

How does this port check tool work?

Our tool attempts a TCP connection to the specified server and port. If a response is received, the port is open; if refused, closed; if timed out, filtered.

Does VPN affect port checking?

Yes, if using VPN the check goes through the VPN server. To check your own server's ports, enter the real IP address directly.

What are the most common ports?

Most common: 80 (HTTP), 443 (HTTPS), 22 (SSH), 21 (FTP), 25 (SMTP), 53 (DNS), 3306 (MySQL), 5432 (PostgreSQL), 3389 (RDP), 8080 (HTTP alt).

What is port forwarding?

Port forwarding directs traffic from a specific port on your router to a specific device on your local network. Used for home servers, game servers, or remote desktop access.

Our Customers