couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommy Chheng <tchh...@uci.edu>
Subject Re: firewall
Date Mon, 28 Apr 2008 18:57:44 GMT
ok,  I added the Port to the couch.ini and changed my couch_http.conf  
to match Still no luck:
my couch_http.conf file
http://pastie.caboo.se/188195

I'm running nginx and mongrel for rails on this server..  I doubt  
these can be an issue since they aren't touching 5984 at all and no  
firewall is on...



On Apr 28, 2008, at 11:38 AM, Paul Davis wrote:

> On Mon, Apr 28, 2008 at 2:30 PM, Tommy Chheng <tchheng@uci.edu> wrote:
>> I added BindAddress so my couch.ini file looks like:
>> http://pastie.caboo.se/188174
>>
>> Still same problem.
>>
>>
>>
>> On Apr 28, 2008, at 11:22 AM, Paul Davis wrote:
>>
>>
>>> On Mon, Apr 28, 2008 at 2:19 PM, Tommy Chheng <tchheng@uci.edu>  
>>> wrote:
>>>
>>>> Ok, so i just turned off the firewall temporary
>>>>
>>>> /sbin/iptables -L
>>>> Chain INPUT (policy ACCEPT)
>>>> target     prot opt source               destination
>>>>
>>>> Chain FORWARD (policy ACCEPT)
>>>>
>>>> target     prot opt source               destination
>>>>
>>>> Chain OUTPUT (policy ACCEPT)
>>>>
>>>> target     prot opt source               destination
>>>>
>>>> Chain RH-Firewall-1-INPUT (0 references)
>>>>
>>>> target     prot opt source               destination
>>>>
>>>> Still no response from outside. It's only working via localhost: 
>>>> 5984.
>>>>
>>>> Any ideas how to debug this?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Apr 28, 2008, at 11:12 AM, Paul Davis wrote:
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>>> /sbin/iptables -A OUTPUT -p tcp -m tcp --dport 5984 -j ACCEPT
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> Ohhhh. Heh.
>>>
>>> /usr/local/etc/couchdb/couch.ini
>>>
>>> Change "BindAddresss=127.0.0.1" to "BindAddress=0.0.0.0"
>>>
>>> Or your local static ip to only listen on that IP.
>>>
>>> Paul
>>>
>>>
>>
>>
>
> I don't see a port specified. I'd assume that's specified in
> /usr/local/etc/couchdb/couch_httpd.conf. You might check if you have a
> conflicting BindAddress in there as well.
>
> For reference, my couch.ini looks like this:
> http://pastie.caboo.se/188178
>


Mime
View raw message