Discussion:
[vagrant-up] Vagrant keeps redirecting me to previous localhost:port setting
John S
2018-11-27 21:31:29 UTC
Permalink
I changed from forwarded port to a private network, then ran vagrant reload
but my browser keeps redirecting back to localhost and failing

I can't seem to find anything on why this is happening and hoping someone
has had this issue


My vagrant file is below. I had started with forwarded ports but have since
removed this and used private_network


Vagrant.configure("2") do |config|

config.vm.box = "bento/centos-7.4"

config.vm.network "private_network", type: "dhcp"

config.vm.synced_folder "./website", "/var/www/html/", :mount_options =>
["dmode=777", "fmode=777"], owner: "apache", group: "apache"


## Bootstrap script to provision box. All installation methods can go
here.

config.vm.provision "shell" do |s|

s.path = "bootstrap.sh"

end

end
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/23737a0e-52e2-4b16-a014-28811c2de3de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
John S
2018-11-27 21:32:58 UTC
Permalink
I'm running windows 10 host, cent os guest
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/aa21bdae-55b7-4392-95df-514a1d08f1fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...