Closed Bizadon closed 8 years ago
I have problems with start using -H and -P:
$ python runserver.py -H "192.168.0.102" -H 72 2016-08-13 14:57:43,135 [ pgoapi] [ INFO] pgoapi v1.1.7 - Copyright (c) 2016 tjado https://github.com/tejado Traceback (most recent call last): File "runserver.py", line 76, in app.run(threaded=True, debug=args.debug, host=args.host, port=args.port) File "C:\Python27\lib\site-packages\flask\app.py", line 843, in run run_simple(host, port, self, *_options) File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 694, in run_simple inner() File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 656, in inner fd=fd) File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 544, in make_server passthrough_errors, ssl_context, fd=fd) File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 464, in init HTTPServer.init(self, (host, int(port)), handler) File "C:\Python27\lib\SocketServer.py", line 417, in init self.server_bind() File "C:\Python27\lib\BaseHTTPServer.py", line 108, in server_bind SocketServer.TCPServer.server_bind(self) File "C:\Python27\lib\SocketServer.py", line 431, in server_bind self.socket.bind(self.server_address) File "C:\Python27\lib\socket.py", line 228, in meth return getattr(self._sock,name)(_args) socket.gaierror: [Errno 11004] getaddrinfo failed
You're using -H twice: python runserver.py -H "192.168.0.102" -H 72
Should be: python runserver.py -H "192.168.0.102" -P 72
@ghvanderweg omg, ty very much, I cant understand how I couldnt saw that....
Checklist
My Issue
I have problems with start using -H and -P:
$ python runserver.py -H "192.168.0.102" -H 72 2016-08-13 14:57:43,135 [ pgoapi] [ INFO] pgoapi v1.1.7 - Copyright (c) 2016 tjado https://github.com/tejado Traceback (most recent call last): File "runserver.py", line 76, in
app.run(threaded=True, debug=args.debug, host=args.host, port=args.port)
File "C:\Python27\lib\site-packages\flask\app.py", line 843, in run
run_simple(host, port, self, *_options)
File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 694, in run_simple
inner()
File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 656, in inner
fd=fd)
File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 544, in make_server
passthrough_errors, ssl_context, fd=fd)
File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 464, in init
HTTPServer.init(self, (host, int(port)), handler)
File "C:\Python27\lib\SocketServer.py", line 417, in init
self.server_bind()
File "C:\Python27\lib\BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "C:\Python27\lib\SocketServer.py", line 431, in server_bind
self.socket.bind(self.server_address)
File "C:\Python27\lib\socket.py", line 228, in meth
return getattr(self._sock,name)(_args)
socket.gaierror: [Errno 11004] getaddrinfo failed