Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Please keep in mind that I have this installed on an Amazon EC2 instance running the latest version of Ubuntu Server.

I have changed the bind_address to 0.0.0.0.

netstat -an | grep 5984 yields the following:

tcp 0 0 0.0.0.0:5984 0.0.0.0:* LISTEN

From what I've read about this, everything seems to be in order. However, for whatever reason, when I navigate to futon remotely, it doesn't resolve.

When I try to send a curl request to the database I receive "Couldn't connect to host at..."

When I send it from the server itself I get the response I would expect from CouchDB, so I know it's installed, just either it or my firewall is not configured correctly.

Any help is greatly appreciated.

iptables -L returns the following:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:5984

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
share|improve this question
    
What is the (anonymised) output of iptables -L? –  tink Mar 25 '13 at 20:10
    
@tink I've added the information above. –  Willem Ellis Mar 25 '13 at 20:17

1 Answer 1

up vote 2 down vote accepted

Open the port in your EC2 Security Group.

share|improve this answer
    
This was it! I actually figured this out right before I came over here to tell everyone. Thanks! –  Willem Ellis Mar 25 '13 at 20:30

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.