Server Fault is a question and answer site for system and network administrators. 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 have a t1.micro instance with public dns looks similar to (some numbers changed)

On this machine, I am running a django app

$ sudo python runserver
Validating models...

0 errors found
Django version 1.4.1, using settings ''
Development server is running at

I have opened the port 8000 through AWS console enter image description here

Now when I hit the following in Chrome, I get Oops! Google Chrome could not connect to

WHat is that I am doing wrong?


netstat -lan | grep 8000
tcp        0      0*               LISTEN 
share|improve this question
Post the output of netstat -lan | grep 8000. – EEAA Sep 22 '12 at 3:46
@ErikA, I posted the output, thank you – learner Sep 22 '12 at 4:41
up vote 5 down vote accepted
>Development server is running at

Sounds like the server is set to respond only on the localhost.
Check your Django config, and make sure it's set to respond on all interfaces.


netstat -lan | grep 8000
tcp        0      0*               LISTEN 

Yep, definitely an issue with your bindings. should instead be your Public IP or for all interfaces.

share|improve this answer
Yes, that is it, I was missing this – learner Sep 22 '12 at 6:00

You need to bind the runserver to all ports.. by default it just binds to localhost

 python runserver
share|improve this answer
Thanks @Mike, this was I was missing – learner Sep 22 '12 at 6:02

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.