Empty reply from server - can't connect to vagrant vm w/port forwarding

前端 未结 3 1202
忘了有多久
忘了有多久 2020-12-13 14:10

I\'m running werkzeug (as part of a Tilestache setup) inside a Vagrant VM, running ubuntu \'precise.\'

In my Vagrantfile, I have:

config.vm.network :         


        
3条回答
  •  误落风尘
    2020-12-13 14:19

    In the /etc/hosts inside the VM, change line
    127.0.0.1 localhost -> 0.0.0.0 localhost
    and then restart server

提交回复
热议问题