I’m thinking “1234” are “example” numbers, not a suggested value to use.
I have Vagrant on VirtualBox so things could be different but my Vagrantfile has this
config.vm.network :forwarded_port, guest: 3000, host: 4000
config.vm.network :forwarded_port, guest: 1080, host: 4080 # Mailcatcher
- BUT - before you do editing, try running
vagrant up;
a few times, I’ve found that sometimes when I get a FAIL the first time, the second time Vagrant is able to auto-correct.
Suggestion, if you do edit the file, comment out the existing line with a hash and leave comments eg.
# config.vm.network :forwarded_port, guest: 3000, host: 4000 # Aarrgghh doesn't work !
config.vm.network :forwarded_port, guest: 3000, host: 8080 # maybe this will work ?