I am starting a private Vagrant network with the specified IP address and hostname. I can currently access the http version on port 80, but I would also like to have access to it on port 8080.
I added something like this:
config.vm.network :forwarded_port, guest: 80, host: 8080, auto_correct: true
But, when I visit my site on port 8080, I get a page error message. Port 80 is still running. how can I correctly access my virtual machine on another port if the forwarded port does not work for a private network?
source
share