Used to work fine. Not sure if its stopped when I did an update or what. Tried all different ports - all ports that show as free in netstat and TCPVIEW; some that show free using the calibre-debug.
Works great if I just leave the command window open... but seems a crappy way to get around the problem.
I'll let the logs tell the story. It's a simple one.
From the calibre / Preferences / Sharing tab, hit "Start Server" and get:
Code:
[21/Aug/2011:15:09:30] ENGINE Bus STARTING
[21/Aug/2011:15:09:30] ENGINE Started monitor thread '_TimeoutMonitor'.
[21/Aug/2011:15:09:40] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x03982B10>>
Traceback (most recent call last):
File "site-packages\cherrypy\process\wspbus.py", line 147, in publish
File "site-packages\cherrypy\_cpserver.py", line 90, in start
File "site-packages\cherrypy\process\servers.py", line 53, in start
File "site-packages\cherrypy\process\servers.py", line 251, in wait_for_free_port
IOError: Port 9999 not free on '0.0.0.0'
[21/Aug/2011:15:09:41] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "site-packages\cherrypy\process\wspbus.py", line 184, in start
File "site-packages\cherrypy\process\wspbus.py", line 147, in publish
File "site-packages\cherrypy\_cpserver.py", line 90, in start
File "site-packages\cherrypy\process\servers.py", line 53, in start
File "site-packages\cherrypy\process\servers.py", line 251, in wait_for_free_port
IOError: Port 9999 not free on '0.0.0.0'
[21/Aug/2011:15:09:41] ENGINE Bus STOPPING
[21/Aug/2011:15:09:41] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 9999)) already shut down
[21/Aug/2011:15:09:41] ENGINE Stopped thread '_TimeoutMonitor'.
[21/Aug/2011:15:09:41] ENGINE Bus STOPPED
[21/Aug/2011:15:09:41] ENGINE Bus EXITING
[21/Aug/2011:15:09:41] ENGINE Bus EXITED
[21/Aug/2011:15:09:41] Trying to bind to single interface: 192.168.253.11
[21/Aug/2011:15:09:41] ENGINE Bus STARTING
[21/Aug/2011:15:09:41] ENGINE Started monitor thread '_TimeoutMonitor'.
[21/Aug/2011:15:09:51] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x03982B10>>
Traceback (most recent call last):
File "site-packages\cherrypy\process\wspbus.py", line 147, in publish
File "site-packages\cherrypy\_cpserver.py", line 90, in start
File "site-packages\cherrypy\process\servers.py", line 53, in start
File "site-packages\cherrypy\process\servers.py", line 251, in wait_for_free_port
IOError: Port 9999 not free on '192.168.253.11'
[21/Aug/2011:15:09:52] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "site-packages\cherrypy\process\wspbus.py", line 184, in start
File "site-packages\cherrypy\process\wspbus.py", line 147, in publish
File "site-packages\cherrypy\_cpserver.py", line 90, in start
File "site-packages\cherrypy\process\servers.py", line 53, in start
File "site-packages\cherrypy\process\servers.py", line 251, in wait_for_free_port
IOError: Port 9999 not free on '192.168.253.11'
type calibre-server -p 9999 from the command line and get:
Code:
[21/Aug/2011:15:09:52] ENGINE Bus STOPPING
[21/Aug/2011:15:09:52] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.253.11', 9999)) already shut down
[21/Aug/2011:15:09:52] ENGINE Stopped thread '_TimeoutMonitor'.
[21/Aug/2011:15:09:52] ENGINE Bus STOPPED
[21/Aug/2011:15:09:52] ENGINE Bus EXITING
[21/Aug/2011:15:09:52] ENGINE Bus EXITED
[21/Aug/2011:15:10:41] ENGINE Bus STARTING
[21/Aug/2011:15:10:41] ENGINE Started monitor thread '_TimeoutMonitor'.
[21/Aug/2011:15:10:42] ENGINE Serving on 0.0.0.0:9999
[21/Aug/2011:15:10:42] ENGINE Bus STARTED