From 3c4cc4bcddb573941570ffa26c51d287cfe32fa3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Wed, 10 Mar 2010 22:42:06 +0000 Subject: [PATCH] listen localhost for xml-rpc requests, until we have some sort of authentication. --- omf/omf-slicemgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omf/omf-slicemgr.py b/omf/omf-slicemgr.py index 8b2af22..0589aab 100644 --- a/omf/omf-slicemgr.py +++ b/omf/omf-slicemgr.py @@ -264,7 +264,7 @@ if __name__ == "__main__": t = task.LoopingCall(slicemgr.flush_commands) t.start(5.0) # check every 5 seconds reactor.connectTCP(slicemgr.id.host, 5222, slicemgr.factory) - reactor.listenTCP(5053, server.Site(slicemgr)) + reactor.listenTCP(5053, server.Site(slicemgr), interface="localhost") reactor.run(installSignalHandlers=True) -- 2.43.0