How to allow remote connections to Flask?
- by Ilya Smagin
Inside the system, running on virtual machine, I can access the running server at 127.0.0.1:5000.
Although the 'remote' address of the vm is 192.168.56.101 (ping and ssh work fine), I cannot access the server with 192.168.50.101:5000 neither from the virtual machine nor from the local one.
I guess there's something preventing remote connections.
Here's /etc/network/interfaces:
auto eth1
iface eth1 inet static
address 192.168.56.101
netmask 255.255.255.0
ufw is inactive.
How do I fix this problem?