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.

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
add comment

2 Answers

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 http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using-network-security.html

share|improve this answer
add comment

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
add comment

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.