@@ -25,7 +25,8 @@ class HttpServerWrapper(tornado.web.Application):
self.port = port
handlers = urls
r = requests.get("http://jsonip.com").json()['ip']
- auth =True if r == '47.111.161.141' else False
+
+ auth = True if r == '47.111.161.141' and sys.argv[1] == '8008' else False
settings = {
"port" : sys.argv[1],
"auth": auth,