Reputation: 41
When trying to launch a cherrypy website on an Apache server, no matter what port I select, I always get an error saying: "No socket could be created".
I used netstat to verify the port I am trying to connect to is listening. Is there some sort of configuration necessary to get the application to run on an Apache server? I have very little experience with cherrypy or Apache.
Upvotes: 4
Views: 2353
Reputation: 533
Cherrypy is a framework for handling http-requests - it's actually designed to run as a standalone webserver. Thus it has overlapping functionality with apache, and you have to make a choice:
handler(req)
function in your code, and hand you all the request info via req
. Django uses this approach.I have good experience with 1, but all of them should be fine.
Upvotes: 1