![]() |
#1 |
Member
![]() Posts: 19
Karma: 10
Join Date: Mar 2010
Device: iphone
|
Cannot access web server of Calibre running on Docker
Hi folks,
I recently managed to install Calibre in Docker which runs on a server running OpenMediaVault [OMV]. I installed it as a stack in Portainer. This is the configuration I used: Code:
--- version: "2.1" services: calibre: image: linuxserver/calibre container_name: calibre environment: - PUID=1000 - PGID=100 - TZ=Europe/Bucharest - GUAC_USER=abc #optional - GUAC_PASS=900150983cd24fb0d6963f7d28e17f72 #optional - UMASK_SET=022 #optional volumes: - /opt/calibre/config:/config - /srv/dev-disk-by-uuid-2c9bd64d-ab80-4606-a084-b6ee55757a45/Database:/database ports: - 8089:8080 - 8091:8081 restart: unless-stopped I checked the Sharing over the net menu and it says there Content server listening at: 172.21.0.2, port 8091, HTTP. Probably this IP is the the IP given by Docker and probably is not the actual issue. I then pressed on Show server logs and it says there: Code:
Calibre server listening on 0.0.0.0:8091 OPDS feeds advertising via Bonjour at 172.21.0.2 port 8091 Thank you so much |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42,541
Karma: 20170320
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
0.0.0.0 means it is listening on all interfaces. And if you want to change it there is an option for it in the advanced tab of the sharing over net preferences.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 19
Karma: 10
Join Date: Mar 2010
Device: iphone
|
Thank you for taking your time to answer. I changed it to the IP of the server and this is what I get now.
Failed to bind to 192.168.xxx.xxx with error: No socket could be created -- (('192.168.xx.xx', 8091): [Errno 99] Cannot assign requested address). Trying to bind to the default interface: 172.21.0.2 instead. 192.168.xx.xx stands for the IP of the server I am using 172.21.0.2 is the ip given by docker to the calibre container. Of course it does not work. No idea how to fix this. Any other suggestions? Thank you so much! |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2
Karma: 1289260
Join Date: Sep 2022
Device: kobo sage
|
to access Calibre content server where Calibre is running in a docker is by adding Static Route in your Router LAN settings.
I am also in docker and my Calibre is at 192.168.25.20:7080 and content server is at 172.17.0.2:8081 and my LAN network is 192.168.25.1 Please have a look at screenshot of my router lan settings. Last edited by harshakavuri; 09-27-2022 at 12:20 PM. Reason: attaching correct screenshots |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running Calibre in a Docker container: How can I connect to my Kobo? | TheRealJohnAdams | Server | 1 | 03-21-2022 01:27 AM |
Importing calibre data into calibre server/docker | straylight | Calibre | 1 | 12-30-2020 03:33 PM |
Calibre Docker Server Automatic Add not Working | netlander | Server | 1 | 12-28-2020 10:38 AM |
Can't connect to content server with Calibre-Web running on Synology Docker | c2930931 | Server | 4 | 09-29-2019 09:50 PM |
Calibre Web opds access failing as content server | rmzg | Calibre Companion | 8 | 07-23-2018 12:49 AM |