Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 09-07-2020, 07:44 PM   #1
Agricola
Junior Member
Agricola began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2019
Device: iPhone
Content Server IP Not Within LAN Range

I have two instances of Calibre running; one installed on a Debian Buster desktop that works fine, the other installed on an Openmediavault server that works in the web gui but I am unable to connect with my iPhone app.

The Content server on Openmediavault picks up an IP of 172.21.0.2, while the server has an IP of 192.168.1.101, therefore I am unable to connect my iPhone to. I installed Calibre using docker compose. I have done it several times and I always get the wrong IP address listed for the Content server. Anybody able to show me what I am doing wrong? Here is the compose file I am using:

---
version: "2.1"
services:
calibre:
image: linuxserver/calibre
container_name: calibre
environment:
- PUID=1000
- PGID=100
- TZ=America/Chicago
volumes:
- /srv/dev-disk-by-label-disk1/Calibre:/config
ports:
- 8082:8080 #I have other dockers running on 8080 & 8081
- 8083:8081
restart: unless-stopped
Agricola is offline   Reply With Quote
Old 09-07-2020, 10:55 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: 37,963
Karma: 16793211
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The server by default listens on 0.0.0.0 which is all IPs. If you want it to listen on a particular IP use the command line option for it.
kovidgoyal is online now   Reply With Quote
Old 09-08-2020, 12:40 PM   #3
Agricola
Junior Member
Agricola began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2019
Device: iPhone
Quote:
Originally Posted by kovidgoyal View Post
The server by default listens on 0.0.0.0 which is all IPs. If you want it to listen on a particular IP use the command line option for it.
Thank you. That worked for me, however I had to connect to my server-version of Calibre with my iPhone/MapleReads SE app by using a User-defined entry. It still failed to be Auto-detected, like it does with Calibre installed on my Debian desktop machine. It still gets the job done, although the interface on the User-defined connection is not quite as elegant as the interface on the Auto-detected connection. That, however is not caused by Calibre iteslf. I will have to dig into my phone app, or find another app one better suited to my situation.

Thanks again.
Agricola is offline   Reply With Quote
Old 10-17-2020, 09:07 PM   #4
HereIAm
Junior Member
HereIAm began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2020
Device: Kobo Libra H2O
Quote:
...IP of 172.21.0.2, while the server has an IP of 192.168.1.101...
Since you run Calibre from container, that IP is the internal one of the Calibre VM, and the container already mapped the port 8081 to the host's 8083, so just use 192.168.1.101:8083 to access the Content Server. Ignore what it says on the Calibre's UI.
HereIAm is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibredb does not work with content server running (content server is using --enable Irvin Server 3 01-08-2019 02:47 AM
Content server on ubuntu 12.04 headless server ImageMagick: libltdl.so.7 Cool Javelin Calibre 5 04-08-2015 02:20 AM
Calibre Content Server and Windows Home Server 2011 HughMcC Calibre 8 10-01-2014 07:26 AM
500 Internal Server Error accessing content server Calibre 0.8.8 DaddyO57 Calibre 1 07-20-2012 06:08 PM
Despite forwarding ports etc, I can only access my Calibre server from my LAN. MyNameIsMrBurns Calibre 11 06-18-2011 12:30 PM


All times are GMT -4. The time now is 09:33 AM.


MobileRead.com is a privately owned, operated and funded community.