【发布时间】:2010-10-20 12:50:40
【问题描述】:
当我运行 CherryPy Hello World 时:
import cherrypy
class HelloWorld:
def index(self):
return "Hello world!"
index.exposed = True
cherrypy.config.update({'server.socket_port': 8080,})
cherrypy.quickstart(HelloWorld())
... 我明白了:IOError: Port 8080 not bound on 'localhost'。会是什么?
【问题讨论】:
-
我以前遇到过这个问题。我希望这个问题会对某人有所帮助。