Open Port Checker

Check which ports on your own public IP are reachable from the internet. Use it to test port forwarding for a game server, camera, VPN or home lab, or to make sure nothing is open by accident.

How to use this tool

  1. Pick common ports or type your own list.
  2. Run the check. It only tests the IP you are visiting from, not any other address.
  3. Open means something answered from outside. Closed means nothing is listening, or the router or firewall blocked it.

Port forward not working?

Check in order: the service is running and listening (ss -ltn on Linux), the device firewall allows it, the router forwards the port to the right local IP, and your provider is not using CGNAT. If the WAN IP on your router differs from your public IP, it is CGNAT and forwarding can not work.

Ports 25, 80 and 445 are often blocked by home providers no matter what you set.

Port forwarding not working: the checklist

1. Is the app running and listening on that port? On Windows run netstat -an | findstr 25565, on Linux ss -ltn.

2. Is the device firewall allowing it? 3. Does the router rule point to the right local IP, and does that device keep that IP (set a reservation)?

4. Is your WAN IP the same as your public IP? If not, it is CGNAT. Check on the what is my IP page. 5. UDP games show closed on a TCP test even when they work.

Port forwarding and open port guide

How to check if a port is open

Pick the ports above and run the check. It connects to your public IP from the internet, the same way a friend joining your game server would. Open means something answered. Closed or filtered means nothing reachable is listening on that port from outside.

Port forwarding not working: step by step

1. The app is running and listening: Windows netstat -ano | findstr :25565, Linux ss -ltnp. 2. The device firewall allows the port. 3. The router rule points to the correct local IP, and that device has a reserved IP so it does not change. 4. Protocol matches, TCP or UDP. 5. Your router WAN IP equals your public IP, otherwise you are behind CGNAT or a second router.

Double NAT: ISP router plus your own router

If your own router sits behind the ISP router, you need forwarding on both, or put the ISP router in bridge mode so your router gets the public IP. Signs of double NAT: your router WAN IP starts with 192.168 or 10.

Common ports and what uses them

22 SSH, 25 SMTP, 53 DNS, 80 HTTP, 443 HTTPS, 3389 Remote Desktop, 25565 Minecraft, 27015 Steam games, 32400 Plex, 51820 WireGuard, 1194 OpenVPN, 554 cameras (RTSP), 8080 and 8443 web panels.

Why does my ISP block port 25 or 80?

Many home providers block port 25 to stop infected PCs from sending spam, and some block 80 and 443 on home plans. Use another port (like 8080) for a test server, or a business plan. Mail servers need a business line or a relay.

Is it safe to have open ports?

An open port is only as safe as the service behind it. Remote Desktop and SSH open to the internet get attacked all day: put RDP behind a VPN, use keys only for SSH. Close forwards you no longer use. Turn off UPnP on the router so apps can not open ports on their own.

UDP ports show closed

Most online checkers test TCP. Many games and VPNs use UDP, which does not answer a connection attempt, so it can look closed while it works. Test UDP by asking someone outside to connect for real.

Port open from inside but not from outside

Testing your public IP from inside your own network needs hairpin NAT, which many routers do not support. Use this checker or mobile data to test from outside.

How to close an open port

Remove the forwarding rule on the router, stop the service, or block it in the firewall. Check again here to confirm it shows closed.

Port forwarding for Minecraft, Plex and game servers

Minecraft Java: TCP 25565. Bedrock: UDP 19132. Plex: TCP 32400 (or turn on remote access in Plex, which can do it with UPnP). Steam games often use UDP 27015. Forward to the local IP of the PC running the server, and keep that IP reserved in the router.

Port forwarding for security cameras and NVRs

Exposing a camera or NVR to the internet is risky, many have known holes. Use the maker cloud app, or a VPN like WireGuard to reach the camera network. If you must forward, change default passwords and update the firmware first.

How to open a port in Windows Firewall

Windows Security, Firewall and network protection, Advanced settings, Inbound Rules, New Rule, Port, TCP or UDP, the port number, Allow. Or PowerShell: New-NetFirewallRule -DisplayName "App" -Direction Inbound -Protocol TCP -LocalPort 25565 -Action Allow.

How to open a port on Linux (ufw and firewalld)

Ubuntu: sudo ufw allow 8080/tcp. RHEL, Rocky, Fedora: sudo firewall-cmd --add-port=8080/tcp --permanent && sudo firewall-cmd --reload. Cloud servers also have a provider firewall or security group that must allow the port.

Check open ports on my computer

To see what is listening locally: Windows netstat -ano | findstr LISTENING, Linux ss -ltnup, Mac lsof -iTCP -sTCP:LISTEN. That shows what could be reached if forwarded, this page shows what actually is reachable from outside.

Port check for a VPN (WireGuard, OpenVPN)

WireGuard uses UDP 51820 by default, OpenVPN UDP 1194. UDP may show closed in a TCP check even when it works, so test by connecting from a phone on mobile data.

Router port forwarding not saving or not working

Restart the router after adding the rule, some only apply it after a reboot. Check the ISP router is not still doing its own NAT in front. Some ISPs need you to turn off a “security” or “advanced protection” feature that blocks inbound traffic.

Do I need a static IP for port forwarding?

Not on the public side if you use dynamic DNS, which keeps a name pointed at your changing IP. On the local side, yes: reserve the IP of the server device in the router DHCP settings.

Open port checker for a home lab

Before exposing a self hosted service, put it behind a reverse proxy with https and authentication, or use a tunnel. Then check from outside here that only 443 is open.

Frequently asked questions

Why only my own IP?

Scanning other people is not okay. The tool only checks the address your request comes from.

Port 22 or 3389 is open

SSH and RDP open to the internet are attacked all day. Use keys for SSH, and put RDP behind a VPN.

It says closed but works inside my network

Many routers do not support hairpin NAT. Test from outside, like this tool does, not from inside.

Related tools