Use getHostAddress instead of getHostName, see #2997

* getHostName may trigger reverse name lookup