Super User is a question and answer site for computer enthusiasts and power users. 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 am trying to use nodejs and socket.io to deliver a webapp, which use websocket on port 3000.

I have opened port 3000 on my EC2 instance in my management console by adding the inbound TCP rule to the relevant security group, however I still can't access it via public dns on my browser.

sudo netstat -tulpn doesn't show it as an open port.

What am I missing? Is there some service I need to restart or a command line I need to push to get it running?

Thanks

share|improve this question
    
did you solve the problem eventually? – Shih-Min Lee Oct 29 '15 at 9:16

Is the port open on the node server?

iptables -A INPUT -p tcp -m tcp --dport 3000 -j ACCEPT

Check both iptables and SElinux entries

share|improve this answer

You must log in to answer this question.

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