Index: scheduler/client.c
===================================================================
--- scheduler/client.c	(revision 10924)
+++ scheduler/client.c	(working copy)
@@ -436,7 +436,7 @@
   {
     if (httpAddrLocalhost(&temp))
       strlcpy(con->servername, "localhost", sizeof(con->servername));
-    else if (HostNameLookups || RemotePort)
+    else if (HostNameLookups)
       httpAddrLookup(&temp, con->servername, sizeof(con->servername));
     else
       httpAddrString(&temp, con->servername, sizeof(con->servername));
