Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I set up a LAMP server on virtual machine using VirtualBox. I want to be able to access that virtual server from my browser on the same box that the virtual server is running on. Many of the suggestions I've found don't seem to be working. I've already changed the conf file to Listen on port 8080, and have tried accessing localhost:8080 from my browser. I've also given my virtual server a static IP address of and tried to access it by pointing my browser to I feel like I'm missing something key and I'm not sure what. Any help? The OS is Ubuntu 12.10 64-bit Server edition.

share|improve this question
Sounds like you're settings are right from that stand point, however, is your network mode in VBOX set-up as bridged? – nerdwaller Dec 3 '12 at 15:22
Are the services properly started on the guest system? At the very least, is Apache running? – That Brazilian Guy Dec 3 '12 at 15:46
Also, check if some proxy (such as iptables) isn't blocking external connections. I had such issue once. – That Brazilian Guy Dec 3 '12 at 15:47
@ruda.almeida Brings up a good point, have you gone to on your server to verify that apache is for sure running? If it's GUI-less you could do it in links with links (it should show "It Works!"). – nerdwaller Dec 3 '12 at 15:50
My network mode is set to NAT. I just tried changing it to bridged but when that's the case I can't access the internet from the server (I tried pinging and tried lynx for I tried the command links but am getting a 'Connection refused' message. I'm not sure how else to test if Apache is running, or how to check if a proxy is blocking external connections. Thanks for the help guys, I'm still very new to this. – Devin Dec 3 '12 at 23:51

You must log in to answer this question.

Browse other questions tagged .