Does OH need Port 8443?

I want to use Amazon Dashbuttons to controll my smarthome stuff on my Pi with opebhabian.
I redirect the calls to the amazon server to my webserver. The only problem is, that the dashbuttons use the port 8443. According to netstats the port is occupied by 733/java.

Does that have anything to do with OpenHab? Can I change the port somehow without effecting OH?

thanks
Dave

Yes OH uses by default ports 8080 and 8443. This is something you can adjust but you will have to consult the documentation.

1 Like

In short, the ports can be changed by assigning the OPENHAB_HTTP_PORT and OPENHAB_HTTPS_PORT variables. Since you’re using openHABian, then this is pretty simple. Simply uncomment and edit the lines in /etc/default/openhab2

#OPENHAB_HTTP_PORT=8080
#OPENHAB_HTTPS_PORT=8443
1 Like

Thanks… it works…

1 Like