We have installed CentOS 7 on VirtualBox Virtual Machine and Windows as a Host OS. We would like to access a web server Apache on the VM (CentOS 7) from the Host OS (Windows). We met the issue to access Apache Server running in VirtualBox from Host OS and we have fixed it by following steps:
Step 1 – In the VM network settings, using ‘Bridged Adapter’.
Step 2 – Turn on the port of CenOS 7 : using the following command in terminal(for example port 80):
[[email protected] httpd]# firewall-cmd --permanent --add-port=80/tcp [[email protected] httpd]# firewall-cmd --reload
Host : Win7 64bit
Guest / VM Machine: CenOS 7
The post Access Apache Server Virtualbox VM (CentOS 7) from Host OS (Windows 7) appeared first on DevOps Techie.
This post first appeared on Devops Techie - Solutios For Devops Tools And Practices, please read the originial post: here