@ -22,8 +22,8 @@ try:
f.close()
HOST = '0.0.0.0'
if os.path.exists('data/ipv6.pl'):
HOST = "::1"
# if os.path.exists('data/ipv6.pl'):
# HOST = "::1"
http_server = WSGIServer(
(HOST, PORT), app, handler_class=WebSocketHandler)
@ -37,7 +37,7 @@ bind = []
bind.append('0.0.0.0:%s' % mw_port)
bind.append('[::1]:%s' % mw_port)
bind.append('[0:0:0:0:0:0:0:0]:%s' % mw_port)
if workers > 2:
workers = 2