TCP Port Tester
Test whether common TCP ports are reachable from this server.
Intro
Test whether a TCP port is reachable on a host and check whether a service appears to be accepting connections.
A TCP port tester helps you quickly check whether a server and port can be reached over the network. This is useful when you are troubleshooting firewalls, security groups, reverse proxies, application services, or server exposure. Instead of guessing whether a port is open, filtered, or blocked, you can test the connection directly.
This tool is especially useful when you want to:
- test whether a TCP port is open
- troubleshoot firewall problems
- verify a service is reachable from the network
- check web, SSH, mail, or database ports
- confirm changes after a server migration
- diagnose connectivity issues faster
What Is a TCP Port Tester?
A TCP port tester is a tool that attempts to connect to a specific host and TCP port.
This helps answer basic questions such as:
- is the port reachable
- is the service listening
- is the connection blocked
- is the service exposed externally
- is the firewall allowing traffic
A successful connection usually suggests that a service is reachable on that port. A failed connection may point to a firewall rule, a closed port, a binding issue, or a service that is not running.
What a TCP Port Test Can Tell You
A TCP port test is useful because it gives you a quick network-level signal.
It can help you understand whether:
- the target host is reachable
- the target port is accepting TCP connections
- a service is likely listening
- a firewall or security group may be blocking traffic
- a migration or config change worked as expected
It is often one of the fastest ways to narrow down whether a problem is:
- network-related
- firewall-related
- service-related
- host-related
Why TCP Port Testing Matters
When an application is unreachable, one of the first questions is whether the required port is actually open and reachable.
That matters for:
- website troubleshooting
- SSH access
- mail server setup
- database connectivity
- self-hosted applications
- reverse proxy configurations
- cloud and VPS deployments
A port test can save time by showing whether the problem is likely before or after the network connection stage.
Common Ports People Test
A TCP port tester is useful for many common services.
Port 22
Often used for:
- SSH
- secure remote server access
- SCP and SFTP workflows
Port 80
Often used for:
- HTTP
- website testing
- redirect validation
Port 443
Often used for:
- HTTPS
- secure websites
- APIs
- admin panels
Port 25
Often used for:
- SMTP
- outbound mail server testing
Port 3306
Often used for:
- MySQL
- MariaDB
Port 3389
Often used for:
- RDP
- remote Windows access
Custom Application Ports
A tester is also useful for services running on custom ports such as:
- Node.js apps
- internal dashboards
- Docker-published services
- game servers
- private APIs
- reverse proxy upstreams
Common Use Cases
Checking SSH Access
If you cannot connect to a Linux server, test port 22 to see whether SSH is reachable from the outside.
This helps confirm whether the issue may be:
- the service not running
- the firewall blocking access
- the wrong IP or hostname
- a hosting provider rule
Testing a Website or API
If a site or API is unreachable, test port 80 or 443 to confirm whether the service responds at the network level.
Verifying Firewall Changes
After updating:
ufwfirewalld- cloud security groups
- router rules
- hosting firewall rules
a port test helps verify whether the port is actually reachable.
Confirming a New Service Deployment
When launching a new application, use a port test to confirm the service is externally reachable on the intended port.
Troubleshooting Mail or Database Access
Mail and database services often depend on very specific ports being reachable only from the right places.
A test helps confirm whether the expected path is open.
Common Reasons a Port Test Fails
Service Not Running
The most basic cause is that the application or daemon is not listening on the port.
Firewall Blocking the Port
A host firewall, cloud rule, upstream provider, or network device may be blocking the connection.
Service Bound to the Wrong Interface
A service may be listening only on:
127.0.0.1- localhost
- an internal address
instead of the public or expected network interface.
Wrong Hostname or IP
The test may be aimed at the wrong destination.
Port Closed by Design
Some services are intentionally restricted to private networks or internal access only.
NAT or Forwarding Problem
In some environments, the service may exist but router or forwarding rules are not sending traffic to the correct backend host.
Open vs Closed vs Filtered
Users often think only in terms of open or closed, but connectivity results can mean different things.
Open
The tester can connect successfully.
This usually suggests:
- the host is reachable
- the service is listening
- the network path is open
Closed
The host is reachable, but nothing is accepting the connection on that port.
This may mean:
- the service is not running
- the wrong port was tested
- the service is bound somewhere else
Filtered or Blocked
The connection does not complete normally, often because a firewall or security device is silently dropping the traffic.
This can make the result look slower or more ambiguous than a simple closed port.
TCP Port Tester vs Port Lookup Tool
These tools solve different problems.
Port Lookup Tool
A port lookup tool tells you what a port is commonly used for.
Examples:
- 22 = SSH
- 80 = HTTP
- 443 = HTTPS
TCP Port Tester
A TCP port tester checks whether a specific host and TCP port are actually reachable.
You often use both together:
- first to understand the port
- then to test whether it is open
Practical Troubleshooting Examples
Website Not Loading
Test:
- port 80
- port 443
This helps confirm whether the server is reachable before you investigate redirects, certificates, or app-level behavior.
SSH Timeout
Test:
- port 22
If the port is unreachable, the problem may be firewall, provider policy, or SSH not running.
App Behind a Reverse Proxy
If the frontend works but the backend app does not, test the backend port internally and the public port externally.
Database Access Problem
If an app cannot reach MySQL or MariaDB, test:
- port 3306
Then confirm whether the service should even be exposed externally.
Best Practices for Port Testing
When testing ports, it helps to:
- test the exact hostname or IP in use
- confirm the service should be exposed at all
- verify both the port number and protocol
- test after firewall changes
- check whether the service is listening locally
- review whether the service is bound to the right interface
- document which ports are supposed to be public
For production environments, only expose the ports you truly need.
Common Admin Follow-Up Checks
If a port test fails, the next checks usually include:
- confirming the service is running
- checking local listening sockets
- reviewing firewall rules
- checking cloud security groups
- reviewing reverse proxy or forwarding rules
- confirming DNS points to the right host
On Linux, common local checks include:
ss -tulpn
or:
netstat -tulpn
Frequently Asked Questions
What does a TCP port tester do?
It checks whether a TCP connection can be made to a specific host and port.
Does an open port always mean the app is healthy?
No. It usually means something is accepting connections, but the application itself may still be misconfigured or failing after connect.
What does it mean if the port is closed?
It usually means the host is reachable but no service is listening on that port.
What does it mean if the test times out?
A timeout often suggests filtering, firewall rules, or a network path problem.
Can I use this to test SSH or HTTPS?
Yes. It is commonly used to test ports like 22, 80, and 443.
Why would a service work locally but fail externally?
Common reasons include firewall rules, binding only to localhost, NAT issues, or cloud security restrictions.
Related Tools
You may also find these tools useful:
Final Note
This TCP Port Tester is useful for quickly checking whether a service is reachable over the network before you spend time debugging the wrong layer.
Use it to confirm basic connectivity first, then follow up with service, firewall, DNS, and application checks if the port is not behaving the way you expect.
