Answer the question
In order to leave comments, you need to log in
How to access a site that is hosted on the same local network in a virtual machine?
Set up a web server in a VirtualBox virtual machine. From the virtual machine I can open the site by IP. The network adapter settings are of the "bridge" type. From other machines on the local network, I can ping the virtual machine and access it via ssh.
But from other machines I can’t open a site via IP (actually I can’t) that is running in a virtual machine. What could be the problem?
UPD: it turned out to solve the problem by disabling iptables
sudo service iptables stop
Answer the question
In order to leave comments, you need to log in
Is the network in bridge or still NAT? If there is a bridge, try to ping the gateway from the virtual machine, if everything is fine, deal with the firewalls.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question