5
(webgame)Benjamins-MacBook:webgame test$ python bin/app.py
http://0.0.0.0:8080/
Traceback (most recent call last):
File "bin/app.py", line 21, in <module>
app.run()
File "/Users/test/Pythonprojects/webgame/lib/python2.7/site-packages/web/application.py", line 310, in run
return wsgi.runwsgi(self.wsgifunc(*middleware))
File "/Users/test/Pythonprojects/webgame/lib/python2.7/site-packages/web/wsgi.py", line 54, in runwsgi
return httpserver.runsimple(func, validip(listget(sys.argv, 1, '')))
File "/Users/test/Pythonprojects/webgame/lib/python2.7/site-packages/web/httpserver.py", line 148, in runsimple
server.start()
File "/Users/test/Pythonprojects/webgame/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1753, in start
raise socket.error(msg)
socket.error: No socket could be created
Cosa significa in questo modo ... Inoltre, sono abbastanza sicuro dell'ultima volta che ho eseguito python bin/app.py, ha funzionato.eseguendo il file python in terminal - socket.error: nessun socket potrebbe essere creato
che funziona! dovrei essere preoccupato per questo però? Anche localhost: 8080 non ha mai funzionato neanche. Non ho attivato il firewall o qualcosa del genere. @Rohit sto cercando di chattare con te adesso – david
per scoprire che server è in esecuzione sulla porta 8080, puoi andare a http: // localhost: 8080 nel tuo browser. – syonip