I am wondering why I can access http://localhost/ and other virtual hosts via a browser with NO physical attachment (ethernet cable) to the Internet, yet unable to do the same with http://localhost:8888/?
http://localhost/ and it’s vhosts are run via xampp on a W7 machine.
http://localhost:8888/ is an Ubuntu 9.10 server running via VirtualBox on the same W7 machine.
I literally need an Internet connection to access the Ubuntu server VM via a browser and I don’t know why. I mean, I see the difference between the two entities (http://localhost/ & http://localhost:8888/ as the later is being directed to a port) but don’t know how to solve the problem. Since one of the advantages to having local test servers is local access without messing with the Internet, or needing an Internet connection, this is frustrating.
I tried adding http://localhost:8888/ to the Windows 7 host file like my localhost and virtual hosts are but this did not help.
Any help would be appreciated.