New install - Unable to access browser UI

Good morning,
I am a first time user of openHAB and am unable to access the dashboard from the browser, even though openHAB seems to be running fine.

I am running Windows 10 x64 on a i7-2630QM, 12 GB RAM system.
I am running JAVA 1.8.0_221 JDK, downloaded from Oracle website.
image
I installed openHAB version 2.4.0 in a directory named without spaces (c:\openhab2)
I added the environment variable JAVA_HOME to C:\Program Files\Java\jdk1.8.0_221 and restarted my computer.

OpenHAB launches fine but no matter I use Chrome, Edge or Explorer, I get an “unable to access page” error when trying to access on the sytem running openHAB http://localhost:8080, http://192.168.2.11:8080, http://my-public-ip:8080 and https://my-public-ip:8443.

I know this hasn’t any impact since I’m using the computer on which openHAB is running, but I did port forwarding for ports 8080 and 8443 for future remote access.

Can anyone pinpoint what I missed? I went through the installation requirements again and again but can’t find it.

Thanks a lot!

Before opening ports on your router to expose the openHAB UI’s you might first want to read this:

Regarding the UI not being available, check the openhab.log logfile. It should give some pointers on what is going on.

That’s helpful, I’ll go and close the ports right back, as my intended use for openhab is to create a dashboard using Imperihome on a wall-mounted tablet, which will always be on the local network.

As for the openhab.log file, it’s totally empty. Don’t know if this helps.

Thanks

Dear Jonathan

Welcome to the openHAB community

no entry in openhab.log … no way, in short words.

The start sequnece should be seen in the log always. depending on the CPU / memory and therefore speed of the machine, it might take a couple of time, but anyway. After 10 minutes you should see something.

Cheers
Stefan

2 Likes

You shouldnt at first…
First make sure openhab is reachable locally. And if you decide to open the port to the “outside” you better make sure you know what you´re doing.

I installed openhab on my windows 10 yesterday (had to make a new test setup to test somehting). I used the openhab 2.5M1 and it worked fine. You´ll need to run the start.bat, and there should be a terminal (cms) window open.

Hi,

I closed the ports already.

The terminal window has been opened for hours but the log is still empty in contents, and 0 bytes in size.
image

I’ll try to uninstall and reinstall openHAB.

Thanks everyone, I’ll keep you posted on the results.

Jonathan