Commit ede23fd4 authored by Jim Fulton's avatar Jim Fulton

use 127.0.0.1 rather than localhost

parent 9a689833
...@@ -121,7 +121,7 @@ class Protocol(base.Protocol): ...@@ -121,7 +121,7 @@ class Protocol(base.Protocol):
if isinstance(self.addr, tuple): if isinstance(self.addr, tuple):
host, port = self.addr host, port = self.addr
cr = self.loop.create_connection( cr = self.loop.create_connection(
self.protocol_factory, host or 'localhost', port, self.protocol_factory, host or '127.0.0.1', port,
ssl=self.ssl, server_hostname=self.ssl_server_hostname) ssl=self.ssl, server_hostname=self.ssl_server_hostname)
else: else:
cr = self.loop.create_unix_connection( cr = self.loop.create_unix_connection(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment