I'm unable to connect to my Python HTTP server, ssh etc from the local wifi networks, vmware networks, virtualbox networks. But i can connect through 127.0.0.1

LexiLominite 1 Reputation point
2022-08-26T00:15:46.387+00:00

I'm using Windows 11 pro.

I tried

  1. adding inbound rules
  2. Permission to applications
  3. Allowing the edge access
  4. Turning off the windows defender completely

But still, I'm unable to connect to my Python HTTP server, ssh etc from the local wifi networks, vmware networks, virtualbox networks. But i can connect through 127.0.0.1

Is there any filtering going on in Windows 11 pro?

Windows for business Windows Client for IT Pros Devices and deployment Configure application groups
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MotoX80 36,291 Reputation points
    2022-08-26T12:48:41.437+00:00

    That's quite a number of networks that we would know nothing about.

    Does outbound network traffic work? That is, are you able to ping other machines on your network? Are you able to browse web sites or connect to SSH on those machines?

    Start by verifying that you have configured the applications to listen on any IP address. That's the "0.0.0.0" in the netstat output. Here I have IIS installed and the SYSTEM process, pid 4, is listening on it's behalf on port 80. For Python you may see a different pid number for it's exe like pid 9236.

    C:\>netstat -aon | findstr -i listen  
      TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4  
      TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       1640  
      TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4  
      TCP    0.0.0.0:902            0.0.0.0:0              LISTENING       6948  
      TCP    0.0.0.0:912            0.0.0.0:0              LISTENING       6948  
      TCP    0.0.0.0:2869           0.0.0.0:0              LISTENING       4  
      TCP    0.0.0.0:5040           0.0.0.0:0              LISTENING       9236  
    

    If you don't have 0.0.0.0, then run ipconfig and verify that the LISTENING process is using the correct IP address.

    Then run wf.msc. Click on "Windows Defender Firewall Properties". Change the "Firewall State" to off for all 3 profiles.

    Find another machine that is on the same network subnet that you were able to ping or browse or SSH to. On that machine open a powershell prompt and use Test_Netconnection with the IP address to see if it can connect.

    Test-NetConnection -ComputerName nnn.nnn.nnn.nnn -port 80  
    
    0 comments No comments

  2. LexiLominite 1 Reputation point
    2024-04-26T05:01:34.34+00:00

    I faced this issue. Its a bug in windows. No matter what you do only if you reset it will work. You cant do anything about it. Even things like Quick Share and Link To Windows doesnt share / work properly because this machine cant receive the requests from Local Network whether it is Public Network / Private Network. This is sick. Everytime we reset this problem occurs a

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.