When I am browsing to http://localhost:8082/openhab.app?sitemap=demo
I get the following error (even after clearing my complete history cache and cookies):
Could not connect: Connection Refused.
ls -l shows -rwxrwxrwx root root for demo.sitemap file in the sitemaps folder.
So when I do netstat -tulpn | grep 8082 nothing shows but I receive this error:
FAILED SelecyChannelConnector@0.0.0.0:8082:java.net.BindException: Address Already in use.
I have used 8082 anywhere in the whole openhab folder that was using 8080.
Any idea how could this be fixed?
Also “sudo lsof -i :8080” shows the following:
pi@raspberrypi:~ $ sudo lsof -i :8080
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 756 openhab 128u IPv6 12383 0t0 TCP *:http-alt (LISTEN)
I don’t have my openhab.cfg there. It exists in
pi@raspberrypi:/opt/openhab/configurations $ ls
install items logback_debug.xml logback.xml openhab.cfg openhab_default.cfg persistence rules scripts sitemaps transform users.cfg
and I have changed the following in openhab.cfg, is it correct or how should I modify it?
myopenhab:localPort=8082
Okay, you did a manual install instead of an apt-get install. You need to read the link I gave you and perform the steps for the manual install:
Change the file /etc/default/openhab to HTTP_PORT=8082 (It’s the same procedure for manual and apt-get install). You don’t edit the port in your openhab.cfg!
Hi sihui,
You need a web browser available on the machine that runs openHAB in order to use this option.
I installed OpenHAB on my Raspberry Pi. there is no GUI not web browser available after installation is completed - only shell prompt.
Can you tell me how I can have web browser available on the Pi to be able to access the link that you provided above?
Thanks,
Amit.
So the link you mentioned goes using the address of the self - due to localhost. meaning in order to get there you have to have a browser.
I ask this because I try to access my openHAB management web pages from a different computer in my network and can’t, so I thought that maybe there is a way to access it from the Pi itself.