Changing Openhab ports


Recommended Posts

Hi,

 

I have been running an OpenHAB docker container for a while, everything working great, but I had to add another Docker container that also needed to be Host and using the same ports. I switched the OpenHAB container to bridged so I could use the new container, but what I really want to do is remap the ports on OpenHAB. I have tried following some guides on port use, but it appears that the port numbers are hard-coded in OpenHAB, so trying to use the edit UI achieve nothing.

 

Thanks in advance for any help.

 

Steve

Link to comment

Thanks.

I have got round this by setting some of the containers to custom network with a new IP address, no more conflicts, and I don't have to figure out how to map the ports when in host mode.

Does anyone know how to do the --device command in a docker XML file as it now the only manual thing I need to do and it would be nice to get it to map my zwave stick automaticaly.

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.