Forum: Rails deployment address family for hostname not supported

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2fef95aef6713c75612fbff6b75a53ce?d=identicon&s=25 Dax Huiberts (daxhuiberts)
on 2007-05-04 16:27
I tried to do a cap deploy yesterday when it suddenly didn't want to
work anymore.
It says "address family for hostname not supported". After a lot of
searching and googling and source code lookup I came to the following:
On my development machine @ work (Windows 2003) there is a problem with
the low level Socket.getnameinfo() call.
When I try to do a Socket.getnameinfo(['AF_INET', '22', ''])
I get the above exception. but a Socket.getnameinfo(['AF_INET', '23',
'']) it works like a charm. It doesn't have anything to do
with what domain I use, it only happens when I use port 22 (ssh) in the
method call. Everything worked fine 2 days ago and now, suddenly, it
bails on me.
Doing the above method call from my development machine @ home (Ubuntu)
it all works just fine.

I don't know how and why I get this exception and haven't been able to
find a sollution either. Maybe somebody knows something more on this
This topic is locked and can not be replied to.