Question Port is still closed after portforwarding

Apr 28, 2025
1
0
10
Everything I've tried so far hasn't worked. I've tried using the DMZ, updating firmware, restarting the router, etc. Before I have to tell anyone, yes, I have the server running, I have Windows firewall disabled, I'm checking the port with my public IP, I'm port forwarding my local IPv4, and my router isn't NAT or CG-NAT, as I've port-forwarded in the past on my old PC; it just isn't working anymore on this one. Any help?
 
Do you have another PC from which you could test connecting to the port via the local LAN? (Or you can use an app on a mobile phone/tablet.) Just to start from the beginning and verify whether it's an issue with the PC or the port forwarding. Also run "netstat -na" on the command prompt and locate the lines with the appropriate port number to verify that it's actually listening. Is it TCP or UDP? Does Windows networking show that the interface is Public or Private?

Why would you disable the Windows firewall instead of just adding an entry to allow the appropriate port?
 
Although you say your router is not behind a NAT/CGNAT this is the most common cause of this. I would check again most routers will show you the actual IP assigned to the wan interface. Make sure that is the public IP you are testing.

What I would now do is again use the DMZ option. Now load wire shark on your machine, you can try fancy filters but I would just let it capture everything and manually dig through the capture. Now go to one of the scanning sites and ask it to scan a range of ports. Since you are using DMZ all should be forwarded. All of course will be marked as closed.

The goal here is not so much to see if the ports respond it is to see if the traffic gets to your machine. scanning a bunch of ports just makes it simpler to find in the capture.

Wireshark I am pretty sure still intercepts the data before the firewall or other filter software.

After this point you will know if there is some issue with the router or something outside your machine or if it is the pc getting the data and not responding. You will want to also test with the actual port there is the rare case where the data gets to the pc, it responds but the response somehow is discarded on the way back.