View Single Post
Old 05-24-2011, 02:29 PM   #15
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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.

EDIT: Changed the command to print out a message when something accepts the connection

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