Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I set up a micro instance (Ubuntu, 32 bit) and assigned an elastic IP (

Public DNS:

I successfully ssh'ed to the machine and installed nginx.

Then I edited the server_name attribute in nginx's config file (/etc/nginx/sites-available/default)


Restarted nginx and hit but got a "could not connect" error.

What did I forget to do?


share|improve this question

1 Answer 1

up vote 4 down vote accepted

You probably forgot to add TCP port 80 to your security group in the AWS console.

enter image description here

share|improve this answer
Amazing! It works. Thanks for the blazing fast response. I can accept your answer in 10 minutes. Thanks again – Alex Jan 21 '13 at 19:17

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.