Skip to content
โ† All tools

What Is My Open Ports

Check which TCP ports are open, closed, or filtered on your public IP address โ€” no software needed.

This tool asks our server to open a TCP connection to the public IP address your browser used to load the page, on whichever port you pick. That mirrors what any host on the internet sees when it probes your router, not what localhost scans show inside your LAN. I built the copy around a real weekend: Plex Remote Access stayed red because my Pakistani ISP put me behind CGNAT, so forwarding TCP 32400 on the router never reached my NAS even though the service listened fine locally. Below I cover what the three statuses mean, which ports matter, and how to verify forwarding without guessing.

What this tool does (and cannot do)

JavaScript in the browser cannot initiate arbitrary TCP connections to your public IP for security reasons. Our /api/open-ports route reads your address from CF-Connecting-IP (or X-Forwarded-For) and runs a three-second outbound connect from our infrastructure. Results are open (handshake completed), closed (immediate RST: nothing listening), or filtered (timeout: firewall or NAT dropped the SYN).

Limits you should internalize: TCP only (no UDP game ports), one port per request, only your current public IP (no scanning third parties), and blind spots when you are on VPN (we hit the VPN exit, not your home router) or CGNAT (no inbound mapping at all). Disconnect VPN before testing home forwarding.

Common ports and IANA ranges

Ports are 16-bit numbers (1 through 65535). RFC 6335 divides them into well-known (0 through 1023, privileged on Unix), registered (1024 through 49151), and dynamic/ephemeral (49152 through 65535) for short-lived client sides of connections.

When you browse the web, your OS picks a high ephemeral port locally and talks to remote port 443. Inbound checks like this page reverse the direction: the internet knocks on your public IP's door number.

Default ports for common services

ServicePortProtocolTypical block reason
HTTP80TCPISP inbound filter; residential ToS
HTTPS443TCPSame; often allowed on business lines
SSH22TCPBrute-force risk; some ISPs block inbound
FTP21TCPLegacy cleartext; NAT issues with passive mode
SMTP25TCPAnti-spam: blocked on most residential IPs
MySQL3306TCPShould never be public; firewall by default
PostgreSQL5432TCPSame as databases above
RDP3389TCPConstant scanner target; use VPN instead
Minecraft Java25565TCPNeeds forwarding + Java edition firewall rule
Plex32400TCPCGNAT breaks manual forward; use relay or IPv6

Why a port looks closed or filtered when you opened it

  • ISP filtering: inbound SMTP (25) is blocked almost everywhere on residential service. Some ISPs also block 80 for hosting.
  • CGNAT: your router shares a public address with neighbors; there is no unique inbound mapping unless you pay for a static IP or use a tunnel service.
  • Application bind address: a service listening only on 127.0.0.1 is invisible externally even if the firewall allows the port.
  • Host firewall: Windows Defender, ufw, or iptables may drop SYN packets before they reach the daemon.
  • Double NAT: ISP modem plus your own router without bridge mode forwards to the wrong hop.

Port forwarding in plain language

Your router translates between one public IP and many private LAN addresses. A forward rule says "when SYN arrives on public port 32400, send it to 192.168.1.50:32400." Dynamic DNS helps when your public IP changes nightly. IPv6 with a global address per device can remove NAT entirely, but you must firewall each host because addresses are routable from the internet by default.

Testing from the command line

Local checks prove the daemon listens; external checks prove the path through NAT. Use both.

# Quick TCP probe (GNU netcat)
nc -zv 192.168.1.50 32400

# Listen test on the server
nc -l 8080

# nmap: only scan networks you own or have written permission to test
nmap -Pn -p 22,80,443,32400 YOUR_PUBLIC_IP

Legacy telnet host port still works on some systems but is often uninstalled. Replace with nc or curl -v telnet://host:port where available.

Security: what open ports reveal

Open ports answer two attacker questions: is something listening, and which software fingerprint responds on connect. Running SSH on the default port 22 is not automatically unsafe if keys-only auth and fail2ban are configured, but it attracts noise. Exposing databases without VPN is never acceptable. Move admin panels behind Tailscale, WireGuard, or at minimum IP allowlists.

Frequently asked questions

Why is port 25 blocked by my ISP?

Outbound and inbound SMTP on residential networks is restricted to stop botnet spam. Use your provider's authenticated relay on submission port 587 or a transactional email API instead of running a home mail server on port 25.

How do I open a port on my router?

Log into the router admin UI, find Virtual Server / Port Forwarding, map external TCP port to the LAN IP and internal port of your machine, and assign that machine a DHCP reservation so the IP does not drift. Then verify from outside with this tool, not only from the LAN.

Is having open ports dangerous?

Intentional services (HTTPS on 443) are normal. Unexpected open database or RDP ports are high risk. Filtered is the safest default for home users; it means the internet cannot reach your host even if malware later tries to listen.

What is the difference between TCP and UDP ports?

They are separate namespaces. TCP provides reliable byte streams (HTTP, SSH, RDP). UDP is datagram-based (DNS, QUIC, many games). This tool tests TCP only; a game showing UDP open in its client is unrelated to these results.

Why does this tool say my port is closed when I opened it?

Common causes: forwarding to the wrong LAN IP, service bound to localhost, double NAT, CGNAT with no public address, host firewall, or testing while connected to VPN so we scan the VPN server instead of your home. Fix one layer at a time: local listen, LAN connect, then this external check.

Public address: What Is My IP. Network owner: What Is My ISP. Path quality: What Is My Latency.

Sources cited above

Common questions

Why is port 25 blocked by my ISP?
Outbound and inbound SMTP on residential networks is restricted to stop botnet spam. Use your provider's authenticated relay on submission port 587 or a transactional email API instead of running a home mail server on port 25.
How do I open a port on my router?
Log into the router admin UI, find Virtual Server / Port Forwarding, map external TCP port to the LAN IP and internal port of your machine, and assign that machine a DHCP reservation so the IP does not drift. Then verify from outside with this tool, not only from the LAN.
Is having open ports dangerous?
Intentional services (HTTPS on 443) are normal. Unexpected open database or RDP ports are high risk. Filtered is the safest default for home users; it means the internet cannot reach your host even if malware later tries to listen.
What's the difference between TCP and UDP ports?
They are separate namespaces. TCP provides reliable byte streams (HTTP, SSH, RDP). UDP is datagram-based (DNS, QUIC, many games). This tool tests TCP only; a game showing UDP open in its client is unrelated to these results.
Why does this tool say my port is closed when I opened it?
Common causes: forwarding to the wrong LAN IP, service bound to localhost, double NAT, CGNAT with no public address, host firewall, or testing while connected to VPN so we scan the VPN server instead of your home. Fix one layer at a time: local listen, LAN connect, then this external check.

Also Check These Tools

๐ŸŒWhat Is My IPInstantly see your public IPv4 and/or IPv6 address with ISP, city, and country details.โ†’๐Ÿ“กWhat Is My ISPSee which Internet Service Provider (ISP) or organization is associated with your public IP and connection.โ†’๐Ÿ”ทWhat Is My DNSLook up public DNS A and AAAA records using Cloudflare DNS over HTTPS, with honest labeling about resolvers.โ†’๐Ÿ“ถWhat Is My LatencyMeasure HTTPS round-trip time from your browser to this siteโ€”a practical โ€œpingโ€ when ICMP is not available in the web sandbox.โ†’๐Ÿ›œWhat Is My Network TypeDetect whether you are on Wi-Fi, cellular, or ethernet, with effective speed class and estimated bandwidth from the Network Information API.โ†’๐Ÿ”What Is My VPN / Am I Leaking?Compare your HTTP-visible public IP with WebRTC ICE reflexive addresses to spot possible IP leaks, plus plain-language DNS leak context.โ†’โšกInternet Speed TestTest your download and upload speeds with a fast, accurate in-browser speed test.โ†’๐Ÿ–ฅ๏ธWhat Is My BrowserDetect your browser name, version, engine, and operating system in one click.โ†’๐Ÿ”What Is My User AgentSee the full user agent string your browser sends to websites and servers.โ†’๐ŸชWhat Is My Cookie / Tracking StatusSee whether first-party cookies and web storage work, what DNT/GPC report, and visible cookie surfaceโ€”plus honest limits for HttpOnly and cross-site tracking.โ†’๐Ÿ“What Is My Screen ResolutionCheck your screen resolution, color depth, pixel ratio, and viewport size.โ†’๐ŸŽฎWhat Is My WebGL / GPUDetect your GPU renderer, vendor, WebGL version, and key graphics capabilities directly from your browser โ€” no plugins required.โ†’๐Ÿ“What Is My LocationDiscover your approximate location based on your IP address including city and country.โ†’๐Ÿ•What Is My TimezoneFind your current timezone, UTC offset, and local time with DST status.โ†’