summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-10-28 07:09:00 +0300
committerDevaev Maxim <[email protected]>2018-10-28 07:09:00 +0300
commitc65c710962bbcc5d75f5df520efa8d60215eb99a (patch)
tree29d2da3d96099d54d6006ebc009104864ba7a42d /kvmd
parentab342111d0c88e13e0d0d4a79c1e14150a7d4ef3 (diff)
using 127.0.0.1 instead of localhost
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/extras/wscli/__init__.py2
1 files changed, 1 insertions, 1 deletions
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()