From c65c710962bbcc5d75f5df520efa8d60215eb99a Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sun, 28 Oct 2018 07:09:00 +0300 Subject: using 127.0.0.1 instead of localhost --- kvmd/extras/wscli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd') diff --git a/kvmd/extras/wscli/__init__.py b/kvmd/extras/wscli/__init__.py index aa2d2e63..19d3181b 100644 --- a/kvmd/extras/wscli/__init__.py +++ b/kvmd/extras/wscli/__init__.py @@ -41,7 +41,7 @@ async def _run_client(loop: asyncio.AbstractEventLoop, url: str) -> None: def main() -> None: parser = argparse.ArgumentParser() - parser.add_argument("-u", "--url", default="http://localhost:8081/ws") + parser.add_argument("-u", "--url", default="http://127.0.0.1:8081/ws") options = parser.parse_args() loop = asyncio.get_event_loop() -- cgit v1.2.3