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'm unable to connect to my webserver over the web.

I've got an ec2 instance running with ubuntu 11.10 on it. It's running a thin server on port 9292. I can ssh into the ec2 box, and do curl localhost:9292 - this returns content, so thin is definitely running.

I've opened up port 9292 in my ec2 security group, so I wouldn't think that amazon is stopping the connection.

Do I need to set something else up on the ubuntu box? I'm also running thin under a user who doesn't have sudo access.

If you can help I'd be very grateful!!

share|improve this question

Have you checked firewall rules on the Ubuntu box? If you're not familiar with working with iptables then this page may give you enough of a starting point.

share|improve this answer
Thanks, I had a look and it seems that all traffic is enabled by default (and I'm connected via ssh) - I've also run something like sudo iptables -A INPUT -p tcp --dport 9292 -j ACCEPT, and it all looks fine from that end. My output from sudo iptables -L is: target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:9292 – Louis Sayers Apr 27 '12 at 15:39

You must log in to answer this question.

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