Chrisw01 Posted December 2, 2020 Share Posted December 2, 2020 (edited) Hi, I installed glass-isc-dhcpd docker and the default port conflicts with another docker. I changed the port from 3000 to 3080 in the setup. Unraid reports x.x.x.x:3000 on the docker page still. And if you click the UI it tries to take you to http://x.x.x.x:3000 resulting in a page not found. If I change the 3000 to 3080 in the address bar the glass interface loads and runs fine. Any help would be appreciated. Thanks Edited December 3, 2020 by Chrisw01 Quote Link to comment
trurl Posted December 2, 2020 Share Posted December 2, 2020 Are you changing the container port or the host port? You must only change the host port and not change the container port. Just map the default container port to whatever host port you want to, that is the whole point of port mappings. Quote Link to comment
Squid Posted December 3, 2020 Share Posted December 3, 2020 The app is set up to run in host mode, with no port mappings per se at all. The port it uses is determined by an environment variable, which you did change. However, you most likely didn't change the WebUI link that is also in the template. Switch to advanced view in the top right to adjust the URL it uses. (If the webUI entry still doesn't show, then you also have to enable template authoring mode in Settings - Docker with the service stopped. 1 Quote Link to comment
Chrisw01 Posted December 3, 2020 Author Share Posted December 3, 2020 14 hours ago, Squid said: The app is set up to run in host mode, with no port mappings per se at all. The port it uses is determined by an environment variable, which you did change. However, you most likely didn't change the WebUI link that is also in the template. Switch to advanced view in the top right to adjust the URL it uses. (If the webUI entry still doesn't show, then you also have to enable template authoring mode in Settings - Docker with the service stopped. Hi and thanks for the help. I always forget about advanced mode, I changed the port in there as well and now it loads the page from the webui link on the docker page. It does still report port 3000 in the unraid page but I can live with that as long as things function properly. The reason I did not use HOST mode is I have two network interfaces hooked up to unraid one for the internet and one for business network only. The business network will handle DHCP and backups to our business since its internet connection to it is controlled by a 3rd party and I do not have access to the firewall to handle port forwarding. Question, I noticed in the advanced setting it is http://[IP]:[3000] wouldn't it be better to make it say http://[IP]:[PORT] instead of hardcoding it? Thanks again ... Quote Link to comment
Squid Posted December 3, 2020 Share Posted December 3, 2020 Because it's in the dockerfile itself to use 3000, and then the actual software itself winds up listening on 3080 due to the environment variable, and then template doesn't support mappings. Quote Link to comment
Chrisw01 Posted December 3, 2020 Author Share Posted December 3, 2020 OKay, makes sense. I'm still trying to wrap my head around docker files. Anyways, thanks, and how do you mark this as solved, I cant seem to find the edit link. Quote Link to comment
itimpi Posted December 3, 2020 Share Posted December 3, 2020 2 minutes ago, Chrisw01 said: how do you mark this as solved, I cant seem to find the edit link. Click on the first post in the thread; select the option to edit it; and then add ‘(SOLVED)’ to the title. 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.