aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mitmproxy/web/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/web/__init__.py b/mitmproxy/web/__init__.py
index 62468d95..956d221d 100644
--- a/mitmproxy/web/__init__.py
+++ b/mitmproxy/web/__init__.py
@@ -184,6 +184,8 @@ class WebMaster(flow.FlowMaster):
iol.add_callback(self.start)
tornado.ioloop.PeriodicCallback(lambda: self.tick(timeout=0), 5).start()
try:
+ print("Server listening at http://{}:{}".format(
+ self.options.wiface, self.options.wport), file=sys.stderr)
iol.start()
except (Stop, KeyboardInterrupt):
self.shutdown()