Mac os nodename nor servname provided or not known

I rebuilt my whole environment from scratch - gems, mysql, ruby, rails, subversion etc etc etc.

IPv6 Connectivity Test

Keep in mind that I have almost no experience with socket programming, but I have submitted a patch for MacPorts under this ticket. Use at your own peril! It seems to work for me, but your mileage may vary! Having lots of problems with this bug.

Your Answer

Tried some of the fixes suggested in this thread but with no luck. Any idea when we might be getting a fix? It looks like the Mac OS X Is there a solution? Please let us know as soon as you find something.

MacOS Sierra problems with java.net.InetAddress: getLocalHost()

Laurent, That seems to work for now. Thanks for looking into it. Laurent S.

Note : I tried this solution also. But it didn't work out. Then ping resolved the issue.

I am trying to set up a VPN with a Raspberry Pi, and the first step is gaining the ability to ssh into the device from outside my local network. For whatever reason, this is proving to be impossible and I haven't the slightest clue why. I have perused Stack Overflow for hours trying to see if anyone else had this problem and I have not found anything.


  1. Installing Homebrew;
  2. follow us on!
  3. click to dial outlook mac;

Every ssh tutorial I find says that I should just be able to set it up on the remote machine and log in from anywhere using a hostname, and I have never had success with that. You could also use a Dynamic DNS service to connect a hostname to your public ip. Assuming the Raspberry has hostname "berry" and ip " Also Sierra on the latest version of OS X! On Mac OS X v When loading its configs, both generic and env specific, it looks for a :source key. Since Ruby has no notion of this service, it tries to resolve the hostname using regular unicast DNS, which fails.

This is not specific to Ruby. Thanks for the PR.

IPv6 Connectivity Test - Exterior Memory

Skip to content. Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Sign up.