'Vagrant VM: Can't access server from Host machine
I'm running a Windows VM with vagrant. Inside the VM there is a Server running on port 443. Inside the VM on the browser if I go to "https://localhost:443" I am able to access the server.
I need to be able to access it on the host machine also. As written here (https://www.vagrantup.com/docs/networking/forwarded_ports), I tried the following command:
config.vm.network "forwarded_port", guest: 443, host: 8090, host_ip: "127.0.0.1"
Now, if I'm correct I should be able to access the server running on the VM from the host machine at the following link : "https://127.0.0.1:8090".
But this does not happen, what am I doing wrong, how do I fix it?
Solution 1:[1]
Solved it, I needed to disable windows firewall inside the VM
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | nicole |
