I cannot access a local web server in a VM for testing and I don't understand why. SSH and VNC work fine. The server is a Virtualbox bitnami machine with a bridged connection running on a laptop.
This is the IP configuration:
Modem/router address: 192.168.1.1
Laptop: 192.168.1.86
VM: 192.168.1.89
- The modem/router is connected to the Internet, and I have a a DDNS domain on noip.com fully working.
- I can both ping the modem from my public IP and my public domain from outside the LAN.
I have configured the following ports on the modem/router:
SSH 192.168.1.89 TCP TCP:22 TCP:22 active
HTTP 192.168.1.89 TCP TCP:80 TCP:80 active
VNC 192.168.1.86 TCP 5900 5900 active
Inside the LAN I can access the server both from the laptop and from other devices.
- Outside the LAN using the DDNS address, I can access the laptop with VNC and the VM with SSH
So basically, everything works fine except HTTP.
I cannot access the local webserver in my home for testing
, and then you sayFrom inside the lan, I can access the server both from the laptop and from other devices
. Are both these statements referring to the web site on the VM using TCP port 80? If so, then those statements sound contradicting unless your home and lan are different locations perhaps, to me either it does or it does not allow access on the same subnet locally. You might check the NIC config on the host the VM is running on isn't blocking or routing the traffic to the VM or something along those lines,,,