IP
IPLocatorNETWORK TOOLS
← IPLocator/Blog
● Supabase DB

Networking · 9 min read · October 28, 2026 · IPLocatorTools

Port Checker: How to Test If Your Ports Are Open or Blocked

Open ports can be a security risk. Blocked ports break port forwarding. Learn what ports are, how to test them online, and how to fix common port problems.

👁️ 10 views
⚡Direct Answer & Executive Summary
● Verified StandardsNetworking Protocol

Open ports can be a security risk. Blocked ports break port forwarding. Learn what ports are, how to test them online, and how to fix common port problems.

Your Minecraft server won't connect. Your remote desktop is unreachable. Your web server isn't accessible. Nine times out of ten, the problem is a blocked port.

Test any port right now with the Port Checker at IPLocatorTools. Enter an IP and port number — results appear in seconds. Free, no software, no signup.

What Is a Port?

A port is a virtual channel number (0–65,535) that lets a single IP address run multiple services simultaneously. When data reaches your IP address, the port number tells the operating system which application or service should receive it.

Think of your IP address as a building address and ports as apartment numbers. The postman (internet) delivers to the building (IP), but the apartment number (port) determines who gets the mail.

Port ranges:

Most Important Port Numbers

| Port | Protocol | Service | Why It Matters | |---|---|---|---| | 80 | TCP | HTTP | Unencrypted web traffic | | 443 | TCP | HTTPS | Encrypted web traffic (SSL/TLS) | | 22 | TCP | SSH | Secure remote server access | | 21 | TCP | FTP | File transfer (insecure) | | 25 | TCP | SMTP | Sending email between servers | | 587 | TCP | SMTP (submission) | Authenticated email sending | | 3306 | TCP | MySQL | Database connections | | 3389 | TCP | RDP | Windows Remote Desktop | | 5432 | TCP | PostgreSQL | Database connections | | 25565 | TCP | Minecraft | Minecraft Java Edition server | | 19132 | UDP | Minecraft Bedrock | Minecraft Bedrock server | | 51820 | UDP | WireGuard | VPN tunnel | | 1194 | UDP | OpenVPN | VPN tunnel |

How to Test If a Port Is Open

  1. Go to Port Checker
  2. Enter the IP address or domain you want to test
  3. Enter the port number (e.g., 25565 for Minecraft)
  4. Click Check Port
  5. Results show:
    • Open — The port is reachable from the internet ✅
    • Closed/Filtered — The port is blocked by a firewall ❌

Important: The Port Checker tests from the internet (external). If your port shows as closed, it means traffic from outside can't reach it — even if the service is running locally.

Common Port Forwarding Problems and Fixes

"My Minecraft server shows port closed — why?"

The most common cause is that port forwarding is not configured on your router.

Fix:

  1. Log into your router (usually 192.168.1.1 or 192.168.0.1)
  2. Find Port Forwarding or NAT settings (varies by router brand)
  3. Create a new rule:
    • External port: 25565
    • Internal IP: Your PC's local IP (find it with ipconfig on Windows)
    • Internal port: 25565
    • Protocol: TCP
  4. Save and test again with Port Checker

"My web server port 80/443 is showing closed"

Possible causes:

"Port 22 (SSH) isn't accessible"

  1. Verify SSH service is running: sudo systemctl status ssh
  2. Check your firewall: sudo ufw allow 22/tcp
  3. If using a cloud server: check security group/firewall rules in your cloud console
  4. Some ISPs block inbound SSH on residential IPs — you may need a VPS or VPN

"My remote desktop (port 3389) won't connect"

  1. Enable Remote Desktop in Windows: Settings → System → Remote Desktop → Enable
  2. Open Windows Defender Firewall → Allow Remote Desktop
  3. Configure port forwarding on your router for port 3389 → your PC's local IP
  4. Test with Port Checker from outside your network

Security warning: Port 3389 (RDP) exposed to the internet is a major security risk. Attackers constantly scan for open RDP ports and attempt brute-force attacks. Use a VPN for remote access instead of direct RDP exposure.

Open Ports and Security

Every open port is a potential attack surface. Best practice:

Close ports you don't need. Only open ports for services actively in use. A port scanner (like Shodan) reveals your exposed ports to the entire internet.

Change default ports. Attackers scan default ports constantly. Running SSH on port 2222 instead of 22 reduces automated attack noise significantly.

Use fail2ban for exposed services. On Linux, fail2ban blocks IPs that repeatedly fail authentication attempts — essential for any publicly accessible SSH or RDP.

Check for unexpected open ports. Run a port scan on your own IP and compare against what you expect. An unexpected open port may indicate a misconfiguration or compromised service.

Check if your IP is known for abuse using IP Blacklist Checker.

Port Testing for Different Use Cases

For Game Servers

For Home Servers / Self-Hosting

For Email Servers

Check if port 25 is blocked on your IP with Port Checker — this is essential before setting up a mail server.

Frequently Asked Questions

My port shows as open on Port Checker but my service still can't connect — why? The port is open but the application binding to it may be misconfigured. Check that your server is actually listening on 0.0.0.0:PORT (all interfaces) not just 127.0.0.1:PORT (localhost only). Run netstat -tlnp | grep PORT on Linux to verify.

Why can I connect to my server locally but not from outside? Local connections use your private IP (192.168.x.x) and bypass your router's port forwarding. External connections use your public IP and must be forwarded. This is the most common cause of "works at home but not from outside" problems.

Does Port Checker work for UDP ports? Most port checkers test TCP ports because UDP is connectionless (no handshake to test). For UDP game server ports, the best test is actually connecting a game client.

My ISP blocks port 25 — how do I send email? Use your ISP's SMTP relay, or use a transactional email service like Mailgun, SendGrid, Postmark, or Amazon SES — they relay email through their own servers which aren't blocked.

Is it safe to have port 80 and 443 open? Yes — these are standard web server ports and should be open if you're hosting a website. They are designed to be public-facing.

CHECK YOUR IP NOW

See What Your IP Reveals →
IT

Written by IPLocatorTools

IPLocatorTools provides free IP lookup, DNS lookup, speed test, and other network diagnostic tools. Our guides help users understand IP addresses, online privacy, and network security.

Last updated: October 28, 2026 · Published: October 28, 2026

Related Articles

The $60 IPv4 Address: Market Prices, Exhaustion & IPv6 Dual-Stack Migration (2026 Guide)
10 min read · November 15, 2026
→
Starlink IP Geolocation, CGNAT & Latency: Why Does SpaceX Route You 500 Miles Away? (2026 Guide)
11 min read · November 15, 2026
→
Is It Down Right Now? How to Diagnose Website Outages vs Local Connection Drops
9 min read · October 31, 2026
→
← All articles