December 2, 20205 yr 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, 20205 yr by Chrisw01
December 2, 20205 yr Community Expert 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.
December 3, 20205 yr 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.
December 3, 20205 yr Author 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 ...
December 3, 20205 yr 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.
December 3, 20205 yr Author 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.
December 3, 20205 yr Community Expert 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.
Archived
This topic is now archived and is closed to further replies.