0
我似乎無法找到谷歌應用程序引擎本地服務器偵聽端口號的解決方案。我嘗試了幾個端口號,並且不斷收到「地址已被使用」錯誤。我檢查端口的可用性,並且它們沒有被使用。App引擎套接字錯誤:[Errno 98]地址已被使用
我試圖運行Python標準應用程序引擎樣本程序hello_world應用程序,我有蟒蛇2.7.12安裝我的系統上,下面是輸出:
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 all pending transactions and saving the 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 already in use
我在其他的解決方案上籤stackoverflow但沒有任何建議正在爲我工作。任何解決方案