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'm using Amazon EC2 micro instance with Ubuntu 11.04 on it (official AMI by Canonical). I have created a new security group for this instance:


22 (SSH)
80 (HTTP)
443 (HTTPS)
3306 (MYSQL)
8080 (HTTP*)

But when I start the web server on 8080 and try to open http://ec2-ip-address:8080/ in my browser it says

Server Not Found

… with the standard Google Chrome page.

netstat -anltp | grep "LISTEN" 

says that my only port listened at is 22.

How can I open the listed ports so I can start my web projects?

EDIT: The solution has been found. All you need is to start server at IP address, not or localhost.

share|improve this question
This solved my problem as well using Google App Eninge on EC2. Have to start it using --host= to be able to connect from outside. – Guus Jun 18 '14 at 8:43

There are a few possibilities here. First possibility is that you haven't set that port up as a listener in Apache, you can do this by adding a line like

Listen 8080

Into you Apache configuration file.

The second possibility is that UFW is running (ubuntu Firewall), you can disable this by running

sudo ufw disable

or add ports to it via

sudo ufw allow 8080

The last possibility is IPTables is blocking it, you would need to look at

sudo iptables -L

to get a list of rules and change them from there.

share|improve this answer
I'm not using Apache, disabled ufw and clear all iptables – bbrodriges Dec 2 '11 at 9:28
OK, Sorry, I assumed you were using apache, it seems like whatever is supposed to be listening on port 8080/80/443 etc is not configured/started. What webserver are you using, perhaps I can help with that. – Kevin Dec 3 '11 at 3:22
I'm using standard webserver which comes with CherryPy Python web framework. – bbrodriges Dec 5 '11 at 13:49
Yes, so that is not starting up, or running. You will have to look into how to start the webserver that comes with CherryPy, as I am not familiar with that. – Kevin Dec 6 '11 at 2:23

You must log in to answer this question.

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