Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forwarded ports for "0.0.0.0" on Vagrant 1.9.3 and Windows 10 blocking project setup #100

Open
DonavanHeng opened this issue Apr 6, 2017 · 0 comments

Comments

@DonavanHeng
Copy link

Description

  • Windows 10
  • Vagrant 1.9.3

Error during magestead new command or with magestead vm:up:

The requested address is not valid in its context. - connect(2) for "0.0.0.0" port 8000

Workaround

I managed to make the 1.9.3 version working by rewritten all my Vagrantfile(s) and adding the host_id: "127.0.0.1" parameter for each of the "forwarded_port" network configuration.
E.g.:
config.vm.network "forwarded_port", guest: 22, host: 1022, host_ip: "127.0.0.1", id: 'ssh'

You need to modify /provision/puphpet/vagrant/Vagrantfile-local and add host_ip: '127.0.0.1':
config.vm.network :forwarded_port, guest: port['guest'].to_i, host: port['host'].to_i, host_ip: '127.0.0.1', auto_correct: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant