I am trying to open some ports for a server to run from my PC - however it appears that all non-standard ports are being blocked.
The host machine is running windows 11, I am testing with a basic python http server using the intended ports.
-------------------------------------------------------------------
I have added an inbound rule to windows firewall to accept the port, tested it is set via "netsh firewall show state" and get this output;
Ports currently open on all network interfaces:
Port Protocol Version Program
43594 TCP Any (null)
-------------------------------------------------------------------
I can also see the server is listening on the port via "netstat -ano" showing this output;
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:43594 0.0.0.0:0 LISTENING 21488
-------------------------------------------------------------------
Which confirms the process is the python server with "tasklist|findstr "21488"";
python3.11.exe 21488 Console 1 26,204 K
-------------------------------------------------------------------
I've had a look at the other threads here, here's some common issues I've been able to rule out;
I have a public IP
The port is forwarding to the correct lan address in my router config
The server is up and running while testing
The server is accessible via lan (other devices on the lan can connect to it via lan address) using the ports in question
-------------------------------------------------------------------
I'm also hosting a Plex Media server and an apache web server from a raspberry pi on my network, both of these are working and accessible via open ports (80 and 11650)
Does anyone have any ideas on what might be blocking my ports from opening correctly?
Or any way I could try narrow down if the source of the issue is my router or host device? (note that trying to run the python server via the raspberry pi still doesn't work, so I'm leaning more towards the problem being the router config somewhere)
The host machine is running windows 11, I am testing with a basic python http server using the intended ports.
-------------------------------------------------------------------
I have added an inbound rule to windows firewall to accept the port, tested it is set via "netsh firewall show state" and get this output;
Ports currently open on all network interfaces:
Port Protocol Version Program
43594 TCP Any (null)
-------------------------------------------------------------------
I can also see the server is listening on the port via "netstat -ano" showing this output;
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:43594 0.0.0.0:0 LISTENING 21488
-------------------------------------------------------------------
Which confirms the process is the python server with "tasklist|findstr "21488"";
python3.11.exe 21488 Console 1 26,204 K
-------------------------------------------------------------------
I've had a look at the other threads here, here's some common issues I've been able to rule out;
I have a public IP
The port is forwarding to the correct lan address in my router config
The server is up and running while testing
The server is accessible via lan (other devices on the lan can connect to it via lan address) using the ports in question
-------------------------------------------------------------------
I'm also hosting a Plex Media server and an apache web server from a raspberry pi on my network, both of these are working and accessible via open ports (80 and 11650)
Does anyone have any ideas on what might be blocking my ports from opening correctly?
Or any way I could try narrow down if the source of the issue is my router or host device? (note that trying to run the python server via the raspberry pi still doesn't work, so I'm leaning more towards the problem being the router config somewhere)