Direct Remote Access down because Plex picks up Docker instance IP

I currently cannot do a direct connection to my docker-instance of Plex. The Docker container gets an IP of 172.16.x.x/12, but the actual IP’s in my network are 192.168.x.x/16.

I suspect that because the private IP is wrong, the requests never end up at the right place. I’ve tried putting in manual routes in my router, as well as manual port forwarding, but I just can’t seem to get it to work.

Either don’t use a bridged network or map (as in forward) the required ports from your host to your container.

Please share your docker-compose.yml or the command line you use to create the container.