Hello. What version of Vagrant and Vmware are you using ?
On Fri, Dec 16, 2016 at 9:43 PM, Andrew MacNamara <[email protected]> wrote: > Found that the port forwarding in VMWare Fusion is managed in the file: > /Library/Preferences/VMware\ Fusion/vmnet8/nat.conf > > It appears that the forwarded ports get written to this file, but are > never removed. There's a section: > > # Use these with care - anyone can enter into your VM through these... > # The format and example are as follows: > #<external port number> = <VM's IP address>:<VM's port number> > #8080 = 172.16.3.128:80 > > And the vagrant port forwarding gets written here as > # VAGRANT-BEGIN: /Users/....../.vagrant/machines/default/vmware_ > fusion/8155631a-1c29-42a1-9a4f-0567011f98bd/oel66.vmx > 2222 = 192.168.225.148:22 > # VAGRANT-END: /Users/......../.vagrant/machines/default/vmware_ > fusion/8155631a-1c29-42a1-9a4f-0567011f98bd/oel66.vmx > > > After stopping and starting the vagrant box, the entry for 2222 gets moved > out of the VAGRANT-BEGIN/END section, and is left behind. Meanwhile, a new > entry is added to the VAGRANT-BEGIN/END section, since vagrant fixes the > port collisions. > > -- > 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/vagrant-up/4b90e98a-6c73-421e-8e72-205741cc59b7%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/4b90e98a-6c73-421e-8e72-205741cc59b7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezaQ6R3mDzJZ94w4UVstEyc9X9VtPG8%3DUqX1i1qG5xEHg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
