--- relay.py.old 2010-09-27 12:06:29.000000000 -0500 +++ relay.py.new 2010-09-27 12:05:58.000000000 -0500 @@ -24,7 +24,7 @@ destinations = getDestinations(metric) for server in RelayServers: - if server.host in destinations: + if server.host or "%s:%s" % (server.host, server.port) in destinations: yield server