Forum Moderators: phranque

Message Too Old, No Replies

Virtual OS Help

         

mudogg80

4:28 pm on Nov 24, 2008 (gmt 0)

10+ Year Member



I wasn't really sure where to put this thread, so I hope can get some help.

My host computer is running Windows Vista and I am using VMWare Workstation 6.5 with fedora 9 running as the guest operating system. I can access my web server from the web browser (localhost) without a problem from within my virtual machine. However, and this may be a silly question but, how/can I access the web server from my host (vista pc) web browser by IP address? If so, how do I configure this to work properly.

I tried editing the hosts file on the host vista machine but that did not work. Can anyone help?

Thanks a lot!

phranque

4:55 am on Nov 25, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



the loopback IP address for localhost is 127.0.0.1 (i think that is what you were asking for)

mudogg80

4:41 pm on Nov 25, 2008 (gmt 0)

10+ Year Member



Yes you are correct, but that is locally or in my case on the virtual guest machine (fedora). I want to be able to access my virtual web server through my host (windows vista) machine's web browser by typing the IP address in the web browser address bar.

Currently my virtual network is using NAT (network address translation). Which shares my host's ip address.

Thanks for your response.

jdMorgan

2:20 am on Dec 2, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Look in the virtual network configuration settings, and make sure that any requests to ports 80 and 443 of your computer's LAN IP address or 127.0.0.1 is routed to the TCP/IP socket 'owned' by the Linux OS, so that these requests get to your server without any interference from NAT.

That's a rather generally-worded answer because that's all I know about doing what you're doing... :)

Jim