philippe_44 wrote: 
> oh, I did not realize that the IF used was the docker internal network
> which is NATed to your network, hence the communication works except for
> the web server that is opening a port on the internal network and
> passing that to the castbridge player as the web server address to
> contact. A typical NAT issue when the higher level protocol passes the
> source address to the destination and the NAT proxy cannot replace that
> address on the fly, obviously.
> 
> Anyway, long story short, force the "network socket to use" parameter to
> the IP address of your physical machine (it has to be a fixed IP in that
> case)
> 
If I understand you reply correctly - this are my immediate reflections:

The Docker internal network (10.0.3.1) isn't NATed to my LAN because I
run the container in HOST mode. LMS doesn't see the internal network at
all. All it sees is the physical network. 
I think you are right in that the web server is trying to open a port on
the internal network anyway, but why - is what I need to figure out, and
how to change this. The internal network isn't used by the App as long
as the container runs in HOST mode (It's not even visible to LMS). So I
guess LMS is querying the OS for the network in such a way that it
replies with the docker network instead of the physical network. 
Regretfully I assume that making changes to LMS itself is beyond
realistic.... ?
So the next best alternative then is to (as you say) "force" the network
socket to use the IP of my physical machine. But how do I do that?
(is the port used (49153) fixed, or random?)

Is it an alternative to make this into a setting in your Plugin?
I hope we can solve this because without my Chromecasts, I'm a sad
user.... :-(



QNAP TS-453Mini 4TB RAID10 QTS 4.2.1 Unbuntu 14.4
Madsonic 6.0
Plex 0.9.16.1

QNAP HS-251 4TB RAID0, QTS 4.2.1
Logitech Media server 7.9
Kodi 16.1 Jarvis

QNAP TS-119 1TB Single, QTS 4.2.1
Retired
------------------------------------------------------------------------
oyvindo's Profile: http://forums.slimdevices.com/member.php?userid=19302
View this thread: http://forums.slimdevices.com/showthread.php?t=104614

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to