View Single Post
Old 05-24-2011, 02:49 PM   #16
jesscat
Groupie
jesscat has a complete set of Star Wars action figures.jesscat has a complete set of Star Wars action figures.jesscat has a complete set of Star Wars action figures.jesscat has a complete set of Star Wars action figures.
 
Posts: 164
Karma: 354
Join Date: Mar 2009
Location: US
Device: iPad mini
Quote:
Originally Posted by kovidgoyal View Post
IOError: Port 8080 not free on '0.0.0.0'

is raised only if an attempt to connect to that port on localhost succeeds. Run this code:

Code:
calibre-debug -c "import socket; s = socket.socket(socket.AF_INET); s.settimeout(10.0); s.connect(('127.0.0.1', 8080)); s.close(); print 'Something is listening on 127.0.0.1:8080'"
If you dont have anything listening on port 8080 on localhost, that must return a Connection refused error.
I ran this from a command prompt; I assume that's correct, and that I didn't need to be in a particular directory? Does it create a log somewhere? When I run it, nothing happens - or more accurately, I run it and then a new prompt appears immediately, with no error messages or other output. I don't entirely understand your explanation here, so I'm not sure what to make of this result.

Just for the heck of it, I did try turning off the Windows FW completely, as well as entirely disabling my AV and AS (at which point Windows certainly believed I had no FW or AV), but this made no difference.

Last edited by kovidgoyal; 05-24-2011 at 02:56 PM.
jesscat is offline   Reply With Quote