I have a home server. I already use ports 8080 & 8443 for my server’s start page.
I also have my server setup to be accessed from the internet & to redirect to https when anyone types in the domain name.
Using info found elsewhere in the forums I edited /etc/default/openhab2 and enabled ports 8081 & 8444.
I also added a VirtualHost *:81, and *:444 to my /etc/apache2/sites-enabled/ file.
I also can’t access the OpenHAB2 site using ports 8080 or 8443. I know this is because I already have an application using this port to serve my server’s index page.
I can only access OpenHAB2 using local ip (192.168.0.100:8081)
My desired configuration can’t be that out of the ordinary? I understand the security concerns regarding accessing OpenHAB2 over the internet, but I want to do it.
So, I need to access OpenHAB2 over the internet using an alternative port. I’d especially like to access it via https.
I just can’t seem to make this config work. Has anyone gotten this to work? I have other apps on my server so I don’t want to use OpenHAB2 as a stand alone server like OpenHABian. I just want to install and use OpenHAB2 as I would any other program on my server.