設定每個谷歌的說明Python的谷歌應用程序引擎的SDK後,我運行啓動器中的示例留言板應用程序並獲取該日誌如下所示:設置谷歌的App Engine SDK - 不運行應用程序
2011-02-05 18:32:23 Running command: "[u'C:\\Python25\\pythonw.exe', 'C:\\Program Files\\Google\\google_appengine\\dev_appserver.py', '--admin_console_server=', '-- port=8080', u'C:\\Program Files\\Google\\google_appengine\\demos\\guestbook']"
WARNING 2011-02-06 00:32:24,798 datastore_file_stub.py:573] Could not read datastore data from c:\users\austin\appdata\local\temp\dev_appserver.datastore
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 52, in <module>
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 48, in run_file
execfile(script_path, globals_)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver_main.py", line 503, in <module>
sys.exit(main(sys.argv))
File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver_main.py", line 480, in main
static_caching=static_caching)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 3881, in CreateServer
server = HTTPServerWithScheduler((serve_address, port), handler_class)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 3901, in __init__
request_handler_class)
File "C:\Python25\lib\SocketServer.py", line 330, in __init__
self.server_bind()
File "C:\Python25\lib\BaseHTTPServer.py", line 101, in server_bind
SocketServer.TCPServer.server_bind(self)
File "C:\Python25\lib\SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "<string>", line 1, in bind
socket.gaierror: (11004, 'getaddrinfo failed')
2011-02-05 18:32:25 (Process exited with code 1)
我能做些什麼來解決這個問題?我對Python完全沒有經驗。
我不使用主機名和網絡工具(http://www.canyouseeme.org/)說,我的8080端口沒有被目前被阻塞:
這也可能是一個相關的問題。我的路由器可能有問題嗎? – awilhite 2011-02-06 01:24:52