When I am running 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())
… I get this: IOError: Port 8080 not bound on ‘localhost’. What could it be?
You’ve probably got something else listening on that port.
On Linux do:
And see what process is listening on 8080
On Windows use something like TCPView to do the same.