Is it possible to access my Apache server from outside the VirtualBox on Google Chrome browser on my host computer? Its running on CentOS 7 on VirtualBox. I have tried connecting to the ip address of the CentOS virtual machine but it didn't work. Its using 'Bridged Adapter' networking in the VM settings and i checked the ip address using the 'ip addr' command. Thanks.
Accessing a CentOS 7 server running on VirtualBox from outside
apache-http-servercentosvirtualbox
Related Question
- Mac – Unable to access the internet from the VirtualBox CentOS VM via wireless connection
- Ubuntu – Virtualbox: How to access web server on guest OS from the host OS
- How to access a VirtualBox host-only network from outside the host machine
- Linux – How to access apache server running in virtualbox from host
Best Answer
I met the same issue. I fixed it as the following:
$ firewall-cmd --permanent --add-port=8080/tcp $ firewall-cmd --reload
My environment:
Host : Win7 64bit
Guest:CenOS 7