Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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'm running a virtual instance of Ubuntu Server using VirtualBox in Windows. To access the site hosted in it, I want to forward port 80 to Ubuntu, so that I can simply go to localhost to mess around with it.

But I'm not sure it won't mess up my regular connectivity. Is there anything that will botch the regular internet/network access?

share|improve this question
Web server is running in Ubuntu, right? – Sachin Divekar Dec 5 '11 at 19:48
@SachinDivekar Yes. – Oxwivi Dec 5 '11 at 19:59
So your wording is wrong. Here you need to forward port 80 to Ubuntu from Windows. This will not affect your regular network/internet access. – Sachin Divekar Dec 5 '11 at 20:01
@SachinDivekar Won't any HTTP requests, including those to websites on the internet, be routed through the virtual OS? And thanks for pointing that out. – Oxwivi Dec 5 '11 at 20:32
It should not, because the outgoing packets would have destination ip as some public ip, so VB should not forward that request to VM. I think you better put as Host IP in your rule. – Sachin Divekar Dec 5 '11 at 20:45
up vote 3 down vote accepted

It should not affect regular internet/network access

The only caveats would be if you were also running a webserver (or other service) listening on port 80.

If that were the case, it is also possible to forward another port (ex. 1234) to port 80 such that you could access it in a web browser by http://localhost:1234

share|improve this answer
I don't have anything listening on port 80 currently. At least nothing I'm aware of. Is there a way to check and make sure? – Oxwivi Dec 5 '11 at 20:00
@Oxwivi you can check if there is something running on port 80 by using telnet windows_host 80 from your Ubuntu machine. – Sachin Divekar Dec 5 '11 at 20:03
You can also use "netstat -a -b" from an administrator command prompt to get all processes including services – arcyqwerty Dec 5 '11 at 20:06
@arcyqwerty +1 just now I come to know that windows also has netstat available. – Sachin Divekar Dec 5 '11 at 20:14
The solution for me was that port 80 was in use by Skype. Didn't even realize it.… – jonespm Nov 18 '15 at 23:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.