Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Access Apache Server VirtualBox VM (CentOS 7) from Host OS (Windows 7)

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

My environment:
Host :  Win7 64bit
Guest / VM Machine:  CenOS 7

Access CentOS 7 Apache Server in VirtualBox from Host OS (Windows 7)

Follow Me:
TwitterFacebookLinkedInGoogle Plus

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

Share the post

Access Apache Server VirtualBox VM (CentOS 7) from Host OS (Windows 7)

×

Subscribe to Devops Techie - Solutios For Devops Tools And Practices

Get updates delivered right to your inbox!

Thank you for your subscription

×