You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Michael Heuberger <mi...@binarykitchen.com> on 2011/04/25 05:18:43 UTC

How to show the exact IPs/ports that the CouchDB process binds on?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hello CouchDB users

Currently I have difficulties loading the admin interface
http://binarykitchen.no.de:5984/_utils/index.html for my website. I
guess the port number 5984 and the IP address the CouchDB listens to
aren't configured properly in the file /opt/local/etc/couchdb/local.ini

Therefore I'd like to find out to which IPs/ports the CouchDB process
binds on. What are the commands to find this out?

Thank you for your help,
Michael

- -- 

Binary Kitchen
Michael Heuberger
4c Dunbar Road
Mt Eden
Auckland 1024
(New Zealand)

Mobile (text only) ...  +64 21 261 89 81
Email ................  michael@binarykitchen.com
Website ..............  http://www.binarykitchen.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
 
iQEcBAEBAgAGBQJNtOgTAAoJEFn1qSu9DMjbRL4IAKNYrsN42maHWg2zBWWL64iL
+6zSLxhW8Ej4g9swJG0CPa7KmV42D17fLH8R9FCUNXfZWnVHs+AEOE4w6K1N3DkO
33aBV6TvEG9cnYr4EwJlbdOLDRGNb4sln5CAnJDnV2B6oW8KJnZ0Zl5p5Ft9s34P
rFk4t5okcZjnKVc3ssOSzvkB7I8KbWOmG81CAp24+z7o4wQP/r0F7ZK6Jt99LiDh
hSoOtrFazO//VgeYQlHxV5dOjDZqyexRadGenbH5NrrFZdH66Et681/eEqo/vZwk
snf85lGGZ1hqlZnWeHOkBbxA+0V424zR0dLCOcoWNUQcfwv+HM8Q+YssFsdA2U0=
=eZq9
-----END PGP SIGNATURE-----


Re: How to show the exact IPs/ports that the CouchDB process binds on?

Posted by Michael Heuberger <mi...@binarykitchen.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks Jens.

But unfortunately I don't have the sudo permissions on the Joyent's
Smart Machine (no.de)

Are there any other commands than sudo to get that information?

On 25/04/2011 7:00 p.m., Jens Rantil wrote:
> Hi Michael,
> 
> Using the command "sudo netstat -nlp" you can see which ports and
> interfaces your listening programs are bound to. CouchDB will show up
> as the program "beam".
> 
> Hope this helps,
> Jens
> 
> On 25 apr 2011, at 05:19, Michael Heuberger
> <mi...@binarykitchen.com> wrote:
> 
>>
> Hello CouchDB users
> 
> Currently I have difficulties loading the admin interface
> http://binarykitchen.no.de:5984/_utils/index.html for my website. I
> guess the port number 5984 and the IP address the CouchDB listens to
> aren't configured properly in the file /opt/local/etc/couchdb/local.ini
> 
> Therefore I'd like to find out to which IPs/ports the CouchDB process
> binds on. What are the commands to find this out?
> 
> Thank you for your help,
> Michael
> 
>>

- -- 

Binary Kitchen
Michael Heuberger
4c Dunbar Road
Mt Eden
Auckland 1024
(New Zealand)

Mobile (text only) ...  +64 21 261 89 81
Email ................  michael@binarykitchen.com
Website ..............  http://www.binarykitchen.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJNtj+cAAoJEFn1qSu9DMjbpu8IAJ6H1B6rNUX2XYgDMlDtEpew
Egqtj74/3C2eKr8PneGQT8X//K6SIInbGAETXvCWl1iah+rjHG4r0/b+BupQU/KL
kHmedwBTIm9HSofcW9owAH8Fm3s+mAn+1DI8yK3CvR6Z11zM8ygu3iZZ2QD/usTd
7eno5ubvun6Yh7cjAcV7zU6NGjH9DQmsTYds85bvCDedgrzxZPnunmDLXvGpVdoT
BusZOGIQporyU1DU8HFwbhS3gsX7cuCpksicTksssbJJXfbLh/KoNQJF/BgSCx1+
gS6Ggdj3rXbV2d7LzkSohjvG/4KBKo6U9+22e13bhj/0Zoy8KR1/4I0/MTmEOVQ=
=CZxy
-----END PGP SIGNATURE-----

Re: How to show the exact IPs/ports that the CouchDB process binds on?

Posted by Robert Newson <ro...@gmail.com>.
CouchDB writes this information to a file called 'couch.uri'
specifically for service discovery.

B.

On 25 April 2011 08:00, Jens Rantil <je...@gmail.com> wrote:
> Hi Michael,
>
> Using the command "sudo netstat -nlp" you can see which ports and
> interfaces your listening programs are bound to. CouchDB will show up
> as the program "beam".
>
> Hope this helps,
> Jens
>
> On 25 apr 2011, at 05:19, Michael Heuberger
> <mi...@binarykitchen.com> wrote:
>
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hello CouchDB users
>>
>> Currently I have difficulties loading the admin interface
>> http://binarykitchen.no.de:5984/_utils/index.html for my website. I
>> guess the port number 5984 and the IP address the CouchDB listens to
>> aren't configured properly in the file /opt/local/etc/couchdb/local.ini
>>
>> Therefore I'd like to find out to which IPs/ports the CouchDB process
>> binds on. What are the commands to find this out?
>>
>> Thank you for your help,
>> Michael
>>
>> - --
>>
>> Binary Kitchen
>> Michael Heuberger
>> 4c Dunbar Road
>> Mt Eden
>> Auckland 1024
>> (New Zealand)
>>
>> Mobile (text only) ...  +64 21 261 89 81
>> Email ................  michael@binarykitchen.com
>> Website ..............  http://www.binarykitchen.com
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.17 (MingW32)
>>
>> iQEcBAEBAgAGBQJNtOgTAAoJEFn1qSu9DMjbRL4IAKNYrsN42maHWg2zBWWL64iL
>> +6zSLxhW8Ej4g9swJG0CPa7KmV42D17fLH8R9FCUNXfZWnVHs+AEOE4w6K1N3DkO
>> 33aBV6TvEG9cnYr4EwJlbdOLDRGNb4sln5CAnJDnV2B6oW8KJnZ0Zl5p5Ft9s34P
>> rFk4t5okcZjnKVc3ssOSzvkB7I8KbWOmG81CAp24+z7o4wQP/r0F7ZK6Jt99LiDh
>> hSoOtrFazO//VgeYQlHxV5dOjDZqyexRadGenbH5NrrFZdH66Et681/eEqo/vZwk
>> snf85lGGZ1hqlZnWeHOkBbxA+0V424zR0dLCOcoWNUQcfwv+HM8Q+YssFsdA2U0=
>> =eZq9
>> -----END PGP SIGNATURE-----
>>
>

Re: How to show the exact IPs/ports that the CouchDB process binds on?

Posted by Jens Rantil <je...@gmail.com>.
Hi Michael,

Using the command "sudo netstat -nlp" you can see which ports and
interfaces your listening programs are bound to. CouchDB will show up
as the program "beam".

Hope this helps,
Jens

On 25 apr 2011, at 05:19, Michael Heuberger
<mi...@binarykitchen.com> wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello CouchDB users
>
> Currently I have difficulties loading the admin interface
> http://binarykitchen.no.de:5984/_utils/index.html for my website. I
> guess the port number 5984 and the IP address the CouchDB listens to
> aren't configured properly in the file /opt/local/etc/couchdb/local.ini
>
> Therefore I'd like to find out to which IPs/ports the CouchDB process
> binds on. What are the commands to find this out?
>
> Thank you for your help,
> Michael
>
> - --
>
> Binary Kitchen
> Michael Heuberger
> 4c Dunbar Road
> Mt Eden
> Auckland 1024
> (New Zealand)
>
> Mobile (text only) ...  +64 21 261 89 81
> Email ................  michael@binarykitchen.com
> Website ..............  http://www.binarykitchen.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (MingW32)
>
> iQEcBAEBAgAGBQJNtOgTAAoJEFn1qSu9DMjbRL4IAKNYrsN42maHWg2zBWWL64iL
> +6zSLxhW8Ej4g9swJG0CPa7KmV42D17fLH8R9FCUNXfZWnVHs+AEOE4w6K1N3DkO
> 33aBV6TvEG9cnYr4EwJlbdOLDRGNb4sln5CAnJDnV2B6oW8KJnZ0Zl5p5Ft9s34P
> rFk4t5okcZjnKVc3ssOSzvkB7I8KbWOmG81CAp24+z7o4wQP/r0F7ZK6Jt99LiDh
> hSoOtrFazO//VgeYQlHxV5dOjDZqyexRadGenbH5NrrFZdH66Et681/eEqo/vZwk
> snf85lGGZ1hqlZnWeHOkBbxA+0V424zR0dLCOcoWNUQcfwv+HM8Q+YssFsdA2U0=
> =eZq9
> -----END PGP SIGNATURE-----
>