w3c/web-platform-tests — pull request #706 by lukeis (2014-02-27 18:03:49+00:00)
Title: using alternative method to get host ip address

works on linux too, more reliably than socket.gethostbyname(socket.gethostname())