0

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

Public DNS: ec2-23-23-245-104.compute-1.amazonaws.com

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)

server_name ec2-23-23-245-104.compute-1.amazonaws.com;

Restarted nginx and hit http://ec2-23-23-245-104.compute-1.amazonaws.com but got a "could not connect" error.

What did I forget to do?

Thanks

1 Answer 1

9

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

enter image description here

1
  • Amazing! It works. Thanks for the blazing fast response. I can accept your answer in 10 minutes. Thanks again
    – Alex
    Jan 21, 2013 at 19:17

You must log in to answer this question.

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