Encarnacao Posted November 5, 2021 Share Posted November 5, 2021 Hi, im using nodered container that works on port: 1880 and i want to have a second instance of the nodered so in apps settings i have enable the allow install of second instance. i have then instaled a second instance and change de port to 1880 to 1889 that is not in use, but it always redirects me to the first instance port 1880, and the port map shows correct 172.19.0.17:1889/TCP192.168.1.65:1889, i also tried change in WebUI the port in advanced mode and same it always send me to 1880 my question is if this is some type of bug or if there is another way to fix the problem ? Quote Link to comment
Squid Posted November 5, 2021 Share Posted November 5, 2021 1 minute ago, Encarnacao said: 172.19.0.17:1889/TCP192.168.1.65:1889 That's wrong right there. That shows you that you've changed both the internal port and the external port (you added another port mapping) to be 1889 It should show 172.19.0.17:1880/TCP192.168.1.65:1889 where the container still listens on 1880 internally, but everything else outside of it communicates on 1889. The OS translates the WebUI entry (advanced view) and makes it what it should be. IE: The webUI entry always refers to 1880 Alternatively, you're running the containers as a network type HOST (or BR0) in which case by definition any and all port mappings you set are ignored. Quote Link to comment
Encarnacao Posted November 5, 2021 Author Share Posted November 5, 2021 ohh i see so maybe the problem that in firsttime i tried i have set has network type HOST grrr Quote Link to comment
Squid Posted November 5, 2021 Share Posted November 5, 2021 Yeah, with HOST the mappings are all irrelevant, and the container will use the ports that IT wants all the time 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.