Server Fault is a question and answer site for system and network administrators. 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 trying to set up a headless torrent server on my amazon ec2 server. I have also added port 9091 to the list of enabled ports but can't access it over the internet.

This is the url for my server. I can access this if I use links2. My server is a 32bit ubuntu 12.04 virtual machine.

I tried to check if ufw was in use but the status for that is inactive. How can I unblock the port and access it remotely?

share|improve this question
Why the downvotes? – nikhil Sep 4 '12 at 15:25

You need to allow this port in the security group for the ec2 server in order to get access to it. You can find more info at

share|improve this answer

This will be done using UFW (a friendly interface for iptables),

To enable access to a given port with UFW:

ufw allow proto tcp from any to 9091

The only thing is I seem to remember older EC2 instances didn't support UFW, so to add it directly to iptables:

iptables -A INPUT -p tcp --dport 9091 -j ACCEPT
share|improve this answer

Your Answer


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.