OrdinaryButt Posted October 15, 2023 Share Posted October 15, 2023 Hello, Say I have container A that uses container port 8080 and container B that also uses same port (or second instance of cA). I understand how to re-map the ports when using network=bridge; cB gets host port 8081, and the system maps (forwards) that to container on 8080. However, when I want to change both cA and cB thru openVPN container network, I am not able to achieve that. I've tried everything I could think of, either I am getting container init error - port duplicate, or somehow both applications reacting on same port, or on the Docker tab the Unraid spinner never stops and the VPN containers restarts forever. Is this possible, and if not, any lead on how can I modify the container A or B so internal port is different? Quote Link to comment
Solution JonathanM Posted October 16, 2023 Solution Share Posted October 16, 2023 You must change the listening port in the application itself, not in the container config. Quote Link to comment
OrdinaryButt Posted October 17, 2023 Author Share Posted October 17, 2023 22 hours ago, JonathanM said: You must change the listening port in the application itself, not in the container config. Thanks. I was able to change this application, as developer provided a way to do that via config variable. In case that is provided/documented (I am not seeing one for Chromium, 8080 default), I basically have to build from source, right? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.