You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a very minor inquiry/comment. Is there a typo on the vagrant file?
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 80, host: 80
config.vm.network "forwarded_port", guest: 9200, host: 9200
The comments says that it should forward to 8080, but it is just mapping port 80 to 80 in the file. It may be good to either edit the comment or change it to 8080.
FYI, on a MAC OS X with Virtual Box, since I am already listening to 80. I get the following error message (which should be expected):
==> default: Setting the name of the VM: elk-demo_default_1445745165459_29979
Vagrant cannot forward the specified ports on this VM, since they
would collide with some other application that is already listening
on these ports. The forwarded port to 80 is already in use
on the host machine.
To fix this, modify your current projects Vagrantfile to use another
port. Example, where '1234' would be replaced by a unique host port:
config.vm.network :forwarded_port, guest: 80, host: 1234
Sometimes, Vagrant will attempt to auto-correct this for you. In this
case, Vagrant was unable to. This is usually because the guest machine
is in a state which doesn't allow modifying port forwarding.
The text was updated successfully, but these errors were encountered:
Hi,
This is a very minor inquiry/comment. Is there a typo on the vagrant file?
The comments says that it should forward to 8080, but it is just mapping port 80 to 80 in the file. It may be good to either edit the comment or change it to 8080.
FYI, on a MAC OS X with Virtual Box, since I am already listening to 80. I get the following error message (which should be expected):
The text was updated successfully, but these errors were encountered: