Could not listen: eaddrnotavail

764 views
Skip to first unread message

Gyula Vörös

unread,
Sep 17, 2014, 7:08:26 PM9/17/14
to couc...@googlegroups.com
Hi,

I need some help with installing CB on Google Compute Engine. I have two VM instances and I use Google Cloud DNS to assign domain names to them: cb1.mydomain.com and cb2.mydomain.com. After installing CB 2.2.0 community edition on the machines I can access the initial setup page via http://cb1.mydomain.com:8091/index.html, but if I try to change the hostname from 127.0.0.1 to the domain name, I got "Could not listen: eaddrnotavail" error. Any suggestion?

Thanks,
Gyula

Aliaksey Kandratsenka

unread,
Sep 17, 2014, 7:21:27 PM9/17/14
to couc...@googlegroups.com
On Wed, Sep 17, 2014 at 4:08 PM, Gyula Vörös <gyulav...@gmail.com> wrote:
Hi,

I need some help with installing CB on Google Compute Engine. I have two VM instances and I use Google Cloud DNS to assign domain names to them: cb1.mydomain.com and cb2.mydomain.com. After installing CB 2.2.0 community edition on the machines I can access the initial setup page via http://cb1.mydomain.com:8091/index.html, but if I try to change the hostname from 127.0.0.1 to the domain name, I got "Could not listen: eaddrnotavail" error. Any suggestion?

I'm not exactly familiar with GCE but here's my guess. cb1.mydomain.com is probably resolved to some IP that's not directly assigned to your node but instead belongs to some kind of "transparent routing" layer.

This is because this error means "I tried to resolve that hostname and bind to resultant address (to verify at least that I can listen on that ip) and it didn't work".

In order to verify that you can send us:

* output of dig cb1.mydomain.com or equivalent tool. Ideally from outside (say your laptop) and from both your GCE nodes to see if results match.

* output of ifconfig (or equivalent tool) from machine cb1.mydomain.com

Reply all
Reply to author
Forward
0 new messages