How to access web server running on a VM
Posted: 10. Apr 2011, 20:56
Greetings,
Not sure if this is the proper forum for this. I have VirtualBox installed on a Windows 7 Pro host. I created a VM and installed Linux CentOS on it. I want to use it as a web server so I installed Apache httpd. I tested it by starting Firefox browser on the CentOS, entered http://127.0.0.1, and the test page popped up. I tried to access it from another PC on my home lan by specifying the IP address for the Linux system (10.0.2.15) but it wouldn’t connect.
To verify it wasn’t something with my router I started Windows web server software (IIS) on the Windows 7 and on another PC specified the IP address of the Windows 7 PC and the IIS test page did pop up.
So what do I have to do to access the Linux web server from another PC?
Thanks.
Not sure if this is the proper forum for this. I have VirtualBox installed on a Windows 7 Pro host. I created a VM and installed Linux CentOS on it. I want to use it as a web server so I installed Apache httpd. I tested it by starting Firefox browser on the CentOS, entered http://127.0.0.1, and the test page popped up. I tried to access it from another PC on my home lan by specifying the IP address for the Linux system (10.0.2.15) but it wouldn’t connect.
To verify it wasn’t something with my router I started Windows web server software (IIS) on the Windows 7 and on another PC specified the IP address of the Windows 7 PC and the IIS test page did pop up.
So what do I have to do to access the Linux web server from another PC?
Thanks.