I've forwarded several ports in my guest Ubuntu http server. I previously didn't care which port it would be, so I forwarded 22 to 2222 for SSH & 21 to 2121 for FTP, etc... However I would like to forward port 80 to 80 for HTTP. However I find that when I forward it in the same way, it doesn't work. If I set it to 8080 & go to localhost:8080, I do see the landing page saying "it works". If I forward it to 80 & just go to local host, I see "Bad Request".
Does anyone know how I can fix this?
Virtual Server Port forwarding
Re: Virtual Server Port forwarding
Nothing on the Host already using port 80 ?
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
TheLostOne
- Posts: 8
- Joined: 27. Sep 2009, 03:32
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win 7, Win XP, Ubuntu
Re: Virtual Server Port forwarding
Sorry for hijacking this thread but I have the same problem.
I'm using a Ubuntu Server guest under a Mac OS host.
I can successfully forward port 8080 to 8080 but not port 80 to 80.
When I use the command netstat -atp | grep -i "listen" I see that VirtualBox is correctly listening to 8080 but not to port 80.
I can't see another process using port 80.
Using another source port as 80 works.
Is it possible that VB doesn't allow forwarding port 80?
Thanks & best regards
I'm using a Ubuntu Server guest under a Mac OS host.
I can successfully forward port 8080 to 8080 but not port 80 to 80.
When I use the command netstat -atp | grep -i "listen" I see that VirtualBox is correctly listening to 8080 but not to port 80.
I can't see another process using port 80.
Using another source port as 80 works.
Is it possible that VB doesn't allow forwarding port 80?
Thanks & best regards