Jump to content

2 Containers (or Instances) with Same WebUI Port thru VPN Container Network


Go to solution Solved by JonathanM,

Recommended Posts

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?

Link to comment
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?

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...