Cant connect via PuTTY(SSH) or enter the openhabianpi:8080

Hey,
first of all sorry for my bad english.
I am using a Raspberry Pi 3B and already installed Openhabian 3.3 the 32 Bit Version. The Pi is connected via LAN.
I followed the Instructions but cant connect to the openhabianpi:8080 and also I tried to connect via PuTTY.
The IP I typed in was the right one from “ifconfig” and the Message that came up was “Network error: Connection Refused.”
Also I tried to ping both Devices (Pi and PC) from each other and this worked.

You would help me a lot, if someone could solve this problem.

Thank you!

The PuTTY SSH connection works and I dont know why i didnt worked before. :smiley:

==> /var/log/openhab/HABApp.log <==
2022-08-31 12:24:58.377 [WARN ] [HABApp.openhab.connection ] - “Cannot connect to host localhost:8080 ssl:default [Connect call failed (‘127.0.0.1’, 8080)]” (<class ‘aiohttp.client_exceptions.ClientConnectorError’>)
2022-08-31 12:24:58.378 [INFO ] [HABApp.openhab.connection ] - … offline!
2022-08-31 12:27:58.426 [WARN ] [HABApp.openhab.connection ] - “Cannot connect to host localhost:8080 ssl:default [Connect call failed (‘127.0.0.1’, 8080)]” (<class ‘aiohttp.client_exceptions.ClientConnectorError’>)
2022-08-31 12:27:58.427 [INFO ] [HABApp.openhab.connection ] - … offline!
2022-08-31 12:30:58.461 [WARN ] [HABApp.openhab.connection ] - “Cannot connect to host localhost:8080 ssl:default [Connect call failed (‘127.0.0.1’, 8080)]” (<class ‘aiohttp.client_exceptions.ClientConnectorError’>)
2022-08-31 12:30:58.461 [INFO ] [HABApp.openhab.connection ] - … offline!
2022-08-31 12:33:58.501 [WARN ] [HABApp.openhab.connection ] - “Cannot connect to host localhost:8080 ssl:default [Connect call failed (‘127.0.0.1’, 8080)]” (<class ‘aiohttp.client_exceptions.ClientConnectorError’>)
2022-08-31 12:33:58.502 [INFO ] [HABApp.openhab.connection ] - … offline!
2022-08-31 12:36:58.542 [WARN ] [HABApp.openhab.connection ] - “Cannot connect to host localhost:8080 ssl:default [Connect call failed (‘127.0.0.1’, 8080)]” (<class ‘aiohttp.client_exceptions.ClientConnectorError’>)
2022-08-31 12:36:58.543 [INFO ] [HABApp.openhab.connection ] - … offline!

==> /var/log/openhab/HABApp_events.log <==

==> /var/log/openhab/openhab.log <==
at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1308)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1271)
at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:733)
at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:850)
at java.base/java.util.zip.ZipFile.(ZipFile.java:248)
at java.base/java.util.zip.ZipFile.(ZipFile.java:177)
at java.base/java.util.zip.ZipFile.(ZipFile.java:191)
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:342)
… 8 more

==> /var/log/openhab/HABApp.log <==
2022-08-31 12:39:58.575 [WARN ] [HABApp.openhab.connection ] - “Cannot connect to host localhost:8080 ssl:default [Connect call failed (‘127.0.0.1’, 8080)]” (<class ‘aiohttp.client_exceptions.ClientConnectorError’>)
2022-08-31 12:39:58.575 [INFO ] [HABApp.openhab.connection ] - … offline!

I checked the Logs and thats what i found… still cant connect to openhabian:8080
-.-

Port 8080 is HTTP. You appear to be attempting to connect to that port using HTTPS. Try HTTP or use port 8443 for HTTPS.

what exactly did you try ? The log that shows the connection problem is HABApp log.
What does the openhab.log file show ?

What does

sudo netstat -tulpn | grep java

return ? It should show the port numbers that are related to the java process.

I flashed the SD Card this morning and it just worked… dont know why it didnt worked before but thank you!