python - App Engine socket error: [Errno 98] Address already in use -
i can't seem find solution google app engine local server listening port number. have tried several port number , keep getting "address in use" error. have check availability of ports , not in use.
i trying run sample hello_world app python standard app engine, have python 2.7.12 installed on system, below output:
dev_appserver.py --port=8085 app.yaml info 2017-08-22 15:11:15,041 devappserver2.py:116] skipping sdk update check. info 2017-08-22 15:11:15,264 api_server.py:313] starting api server at: http://localhost:32989 info 2017-08-22 15:11:15,269 dispatcher.py:226] starting module "default" running at: http://localhost:8085 info 2017-08-22 15:11:15,271 api_server.py:945] applying pending transactions , saving datastore info 2017-08-22 15:11:15,271 api_server.py:948] saving search indexes traceback (most recent call last): file "/home/jade/dev/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 103, in <module> _run_file(__file__, globals()) file "/home/jade/dev/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 97, in _run_file execfile(_paths.script_file(script_name), globals_) file "/home/jade/dev/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 381, in <module> main() file "/home/jade/dev/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 369, in main dev_server.start(options) file "/home/jade/dev/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 201, in start admin.start() file "/home/jade/dev/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/admin_server.py", line 114, in start super(adminserver, self).start() file "/home/jade/dev/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/wsgi_server.py", line 330, in start self._start_all_fixed_port(host_ports) file "/home/jade/dev/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/wsgi_server.py", line 354, in _start_all_fixed_port server.start() file "/home/jade/dev/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/wsgi_server.py", line 255, in start self.socket.listen(self.request_queue_size) file "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) socket.error: [errno 98] address in use
i have checked on other solutions on stackoverflow none of suggestions working me. solution?
address in use
this error means you're running server on port. solve, you'll either have find other server running on machine , terminate it, or pick different port server run on:
dev_appserver.py --port=8087 app.yaml
wiki
Comments
Post a Comment