Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So I followed the directions here and created a sample application on a brand new linux machine.

No Apache, no anything, trying to use Node, express, etc to handle incoming http requests.

Sails says:

info: Server lifted in `/home/ec2-user/simKeynes`
info: To see your app, visit http://localhost:1337
info: To shut down Sails, press <CTRL> + C at any time.

debug: --------------------------------------------------------
debug: :: Fri Aug 16 2013 17:22:27 GMT+0000 (UTC)
debug: 
debug: Environment      : development
debug: Port             : 1337

but when I go to the associated IP address http://54.214.44.52:1337/ I see nothing.

Checking Chrome's dev tools I see no response, and the browser displays:

Oops! Google Chrome could not connect to 54.214.44.52:1337

This is definitively not the hello world page.

I have Node.js 0.10 running, a previous install of express, sails, mongo, mongoose, ruby, and that's about it.

Where did I go wrong?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Open the port in your AWS security group, and the virtual machine's firewall if applicable.

share|improve this answer
    
It was the AWS security group. Found it, fixed it, and hello world, baby! thanks! –  Jason Nichols Aug 16 '13 at 18:07

Your Answer

 
discard

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.