I have followed CherryPy Essentials to build up an app behind Apache with mod_python,
but I have the following error:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/process/servers.py", line 187, in _start_http_thread
self.httpserver.start()
File "/usr/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/wsgiserver/wsgiserver2.py", line 1824, in start
raise socket.error(msg)
error: No socket could be created
[27/Jun/2013:13:27:39] ENGINE Bus STOPPING
[27/Jun/2013:13:27:39] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8080)) already shut down
[27/Jun/2013:13:27:39] ENGINE Stopped thread '_TimeoutMonitor'.
[27/Jun/2013:13:27:39] ENGINE Stopped thread 'Autoreloader'.
[27/Jun/2013:13:27:39] ENGINE Bus STOPPED
[27/Jun/2013:13:27:39] ENGINE Bus EXITING
[27/Jun/2013:13:27:39] ENGINE Bus EXITED
I have tried to change port to 9091 or others, and it is not working. "localhost" is not helping either.
It seems that the setup function in my code has been located correctly.
In google chrome I got Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
Any idea would be appreciated, thanks
Carlos