View Single Post
Old 11-24-2026, 11:01 PM   #2
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: 46,634
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is nothing in the calibre server that makes it stop accepting connections after it has been running for a while. It is the same server listening on the same port whether it was started a minute ago or a week ago. So this is almost certainly something on your computer or network. The usual causes:

1) Your computer, or its network adapter, is going to sleep/power saving. On Windows, open Device Manager -> Network adapters -> your adapter -> Power Management and uncheck "Allow the computer to turn off this device to save power". Also check the sleep settings in your power plan.

2) The IP address of your computer changes (DHCP). Check that the address in your reader app is still the address of the computer when it fails. Better still, give the computer a fixed address in your router.

3) Some router/wifi setups drop idle devices or put them into power saving.

The next time it fails, before restarting anything, open a browser on your phone and go to http://IP_ADDRESS:PORT/opds (the address shown in calibre under Connect/share). If that also times out, the server is not reachable from the network, which means one of the above. If it works in the browser but not in the reader app, the problem is in the app.

You can also click the "Show server logs" button in Preferences->Sharing over the net, right after a failed attempt, to see whether the request from the reader app even reached calibre.
kovidgoyal is offline   Reply With Quote