Ankur_009
Ankur_009

Reputation: 3710

How to open port 3000 on AWS

I have seen many questions related or same as mine but I am not able to get the right answer.

I am developing the node js application and hosted on AWS. But I am not able to open the port 3000.

I am checking if the port is open or not using the following command:

 netstat -ntlp | grep LISTEN

Security group:

In bound: In bound

Out bound: Out bound

Upvotes: 3

Views: 5435

Answers (2)

Kush Vyas
Kush Vyas

Reputation: 6079

Assuming NACL , Security Group and IP Tables are configured correctly.

I had faced similar problem with Node Once and Double Checked every setting , at last I found out A node service has to be attached to that port in order for it to work.

Even if the port is open it will not show open when you ping unless you have service attached to it.

You Can try something like http.createServer(app).listen(3000)

Hope it Helps!

Upvotes: 1

jarnohenneman
jarnohenneman

Reputation: 1043

You could have a look at your NACL; http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_ACLs.html

Im assuming you have it running on an EC2 instance, if there is a firewall on the OS that allows port 3000?

Upvotes: 0

Related Questions