File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6262 sys 0m0.005s
6363'''
6464
65- host = '0.0.0.O '
65+ host = '0.0.0.0 '
6666port = 9758
6767
6868if __name__ == '__main__' :
7171 site = Site (resource )
7272
7373
74- reactor .listenTCP (port , site )
74+ reactor .listenTCP (port , site , interface = host )
7575
7676 logging .info ("listening on: %s:%d" % (host ,port ))
7777 logging .info ('wsdl is at: http://%s:%d/?wsdl' % (host , port ))
Original file line number Diff line number Diff line change 7171 resource = WSGIResource (reactor , reactor , wsgi_application )
7272 site = Site (resource )
7373
74- reactor .listenTCP (port , site )
74+ reactor .listenTCP (port , site , interface = host )
7575
7676 logging .info ('listening on: %s:%d' % (host ,port ))
7777 logging .info ('wsdl is at: http://%s:%d/?wsdl' % (host , port ))
You can’t perform that action at this time.
0 commit comments