How to allow remote connections to Flask?
        Posted  
        
            by 
                Ilya Smagin
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by Ilya Smagin
        
        
        
        Published on 2012-12-01T21:34:58Z
        Indexed on 
            2012/12/01
            23:20 UTC
        
        
        Read the original article
        Hit count: 457
        
networking
|firewall
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?
© Ask Ubuntu or respective owner