View Single Post
Old 02-13-2021, 06:56 AM   #15
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by alfexyn View Post
The listener IPs are configured correctly, my question is only about the advertisement of the OPDS service via Bonjour. The container runtime forwards the packets from the host IP/Port to the container IP/port . The latter is routed only in the container runtime defined network, therefore the process inside the container sees a wrong IP when looking only at the interfaces it sees locally. This can only be overcome by configuration of the host IP, w/o changing the listener IP.
Calibre uses the listener IP for bonjour. There is no way to change that other than by changing the code, which isn't that hard to do. See https://manual.calibre-ebook.com/develop.html.

The above said, I am not convinced that mDNS will ever work from inside the container. The runtime and the outer system must be ready to forward multicast packets. I don't know if they can, but wouldn't be surprised if they won't.
chaley is offline   Reply With Quote