According to the Vagrant documentation, I should be able to bind a port
forward to a specific host_ip. However, the binding is being applied to all
interfaces (0.0.0.0). Any tips on troubleshooting or resolving this issue?
I've also tried (without success) setting host_ip to 127.0.0.1, tried
setting a guest_ip (in case both guest_ip and host_ip needed to be set),
and also set the protocol.Thanks.
Snippet from Vagrantfile:
config.vm.network "forwarded_port", guest: 3389, host: 3390, host_ip:
"172.10.0.27"
System/Vagrant Info:
$ vagrant --version
Vagrant 2.2.15
$ vagrant plugin list
vagrant-vmware-desktop (2.1.5, global)
$ vmware --version
VMware Workstation 16.1.0 build-17198959
$ sudo ss -tulpn | grep 3390
tcp LISTEN 0 20 0.0.0.0:3390
0.0.0.0:* users:(("vmnet-natd",pid=623325,fd=9))
--
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/hashicorp/vagrant/issues
Discuss: https://discuss.hashicorp.com/c/vagrant/24
---
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/05f5210e-874d-4841-92e8-9f25d0167952n%40googlegroups.com.