Open Frikki opened 9 years ago
Researching this issue myself, and found a lead here... I haven't been able to figure out how to bind to 0.0.0.0 instead of localhost though...
I'm pretty confident this is the issue, I added a host entry using the vagrant box's ip and didn't get a response but was able to get a response from inside the machine.
happening for me too... annoying.
Send a PR when you find a solution. I don't use Vagrant, so I cannot fix it.
I just followed the advice in this answer to get it working: http://stackoverflow.com/a/29812368/518002
Just change 127.0.0.1 localhost
to 0.0.0.0 localhost
in the VMs /etc/hosts
Gr8 work man! Thanks!
When running
npm run dev-server
and subsequentlynpm run start-dev
on the Vagrant installation created by theVagrantfile
, accessing http://localhost:8080 on the host machine results in aFailed to load resource: net::ERR_CONNECTION_RESET
with an empty http://localhost:2992/_assets/main.js.However, running
npm run build
andnpm run start
seems to work flawlessly.Is it wrong of me to think that the development should work, too?