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'd like to access my Ubuntu headless box from outside world.

I'm trying to do port forwarding and I think something is going wrong...

I've d-link DSL-2640B

Advanced -> Port Forwarding

serverName: Web Server (HTTP)

External port start: 8891

External port end: 8891


Internal port start: 8891

Internal port end: 8891

Server IP:

Remote IP Addres: ???????

nboundFilter: Allow All

wan interface: ppp0_2

share|improve this question

Is your apache server running on port 80 or 8891? The default apache setup for ubuntu sets it up to listen on port 80, which means you need to forward port 80 on your router instead of 8891.

If you specifically only want to use that port (8891), then you need to go into your /etc/apache2/ports.conf file and change "Listen 80" to "Listen 8891" and then restart the server.

share|improve this answer
my apache is running on port 8891. – Sandro Dzneladze Feb 5 '12 at 19:44
up vote 0 down vote accepted

So for anyone who has same problem... There was no problem.

I was trying to access my server apache from within WAN with publicIp:port

I simply tried to browse from different internet network and I got routed correctly to server with publicIp:port.

Now why is this so is subject of another question :)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .