Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 6769  / 1 Year ago, sat, february 11, 2023, 5:54:58

This may be just some configuration in my Ubuntu setup and may not anything to do with Vmware Workstation but I thought to give all the info. I have a Win 7 'host' workstation running Vmware Workstation with an Ubuntu Server as 'guest'. The VMware network is VMnet0(auto-bridging) for the Ubuntu VM. The guest OS is getting its own IP from the corporate network and is able to surf to web. The guest OS can also access the host's website just fine. So far so good.



But I need to be able to run a LAMP environment in the guest. I have Apache installed on the guest and and in both



http://localhost and 
http://[hostnameofguest]


the apache web page shows up fine in the guest's Firefox. But typing http://[hostnameofguest] or even http://[GuestIPAddress] inside the host does not bring up anything; ping to GuestIPAddress does work but ping to hostnameofguest does not work inside the host machine.



This is probably not a firewall issue--I I have that disabled (using Firestarter, I think) otherwise even ping to guest IP shouldn't work? /etc/hosts looks like:



127.0.0.1   localhost
127.0.1.1 customhostname


Any idea how I can make the LAMP environment to work>



Thanks!


More From » vmware

 Answers
7

Run 'nslookup hostnameofguest' on the Win 7 host to make sure the dns is resolving the hostnameofguest to the correct ip address.



If the firewall isn't the issue, then you will likely have to modify the Apache config to allow http://[GuestIPAddress] to work.




This is probably not a firewall issue--I I have that disabled (using Firestarter, I think) otherwise even ping to guest IP shouldn't work?




A firewall can be configured to block http but allow icmp (ping) to work.


[#32605] Saturday, February 11, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
polcomposte

Total Points: 421
Total Questions: 92
Total Answers: 109

Location: Uzbekistan
Member since Mon, Jul 20, 2020
4 Years ago
;