0

I have a flask app installed on a new windows 10 virtual machine. I can access the app as localhost:8081 - I want to make this available on the network. I added the firewall rule for port 8081 on windows defender as followsenter image description here:

When I try to access with IP or hostname I get ERR_CONNECTION_REFUSED

I have also tried it on port 80 with same result. seems like the port is still blocked. I have nothing else running on this virtual machine. How can I fix this?

afshin
  • 1,783
  • 7
  • 22
  • 39

1 Answers1

0

You will need to change security rules on both your computer and also the router. There might be some kind of security rule about how devices can communicate with each other.

shonkaga
  • 1
  • 3
  • I don't see any rules on my netgear router that would block the ports. Windows 10 pro was installed from scratch. The issue somehow seems to be with the default install of windows. – afshin May 07 '21 at 03:30
  • Have you tried this? https://kb.parallels.com/en/112093 – shonkaga May 07 '21 at 03:44
  • figured it out - issue was how I was starting flask. I had to start Flask indicating the dns acquired ip address: flask run -h 192.168.1.100 – afshin May 07 '21 at 13:24