summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-06-21 13:40:20 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-21 13:40:20 +0100
commit7c4e7430d0c35cd325722f52735f79bcbc3022f8 (patch)
treea1c138993e8394c2875c5349aa27fae0bd5017e1
parent4eac7bba69bf9006d12b6d013a3593be7c642e0e (diff)
downloadfingerchange-7c4e7430d0c35cd325722f52735f79bcbc3022f8.tar.xz
Don't only run on localhost
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rwxr-xr-xfingerchange.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fingerchange.py b/fingerchange.py
index 18410fb..83419a1 100755
--- a/fingerchange.py
+++ b/fingerchange.py
@@ -142,7 +142,7 @@ def handle_client(reader, writer):
loop = asyncio.get_event_loop()
-coro = asyncio.start_server(handle_client, host='127.0.0.1', port=79, loop=loop)
+coro = asyncio.start_server(handle_client, host='0.0.0.0', port=79, loop=loop)
server = loop.run_until_complete(coro)
try: