executing python file in terminal - socket.error: no socket could be created -
(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 created
what in gods name mean... also, i'm pretty sure last time ran python bin/app.py, worked.
try
python bin/app.py 3030
there might server running on 8080.
Comments
Post a Comment