Initial Installation 8080 Not Accessible

  • Platform information: Raspberry Pi 4 B
    • Hardware: Raspberry Pi 4 B
    • OS: Raspbian OS
    • Java Runtime Environment: Default in OpenHab Raspbian OS
    • openHAB version: 1.7.3
  • Issue of the topic: After installation port 9001 is available with the tail log, but I can’t get 8080 to come up. Console is available and startup appears normal.
  • Please post configurations (if applicable): Default other than WiFi config
    • No custom configuration yet.

1.7.3 is related to openhabian, right ? Assume you use openhab 3.2 or are you on milestone ( 3.3 ) ?
What is the output of the following ?

sudo netstat -tulpn | grep `pidof java`

That should give a list of ports that is in use by the running java process ( assumed there is exactly one ) like:

tcp6       0      0 :::8443                 :::*                    LISTEN      30600/java          
tcp6       0      0 :::8101                 :::*                    LISTEN      30600/java          
tcp6       0      0 127.0.0.1:45383         :::*                    LISTEN      30600/java          
tcp6       0      0 :::5007                 :::*                    LISTEN      30600/java          
tcp6       0      0 :::8080                 :::*                    LISTEN      30600/java          
udp6       0      0 :::43335                :::*                                30600/java          
udp6       0      0 :::1900                 :::*                                30600/java          
udp6       0      0 :::5683                 :::*                                30600/java          
udp6       0      0 :::67                   :::*                                30600/java          
udp6       0      0 192.168.0.40:51884      :::*                                30600/java          
udp6       0      0 :::5353                 :::*                                30600/java

Wolfgang, 1.7.3 is the OpenHABian build number I’m running on my Raspberry Pi 4 B. I downloaded the image, used Raspberry Pi Imager to flash a 64GB microSD card, edited the openhabian.config file to enter my WiFi info, installed the card in my Raspberry Pi and started it. After it completed all of the setup, rebooted and returned to a login screen, I tried opening the main openHAB web UI on port 8080 but I get nothing.

https://github.com/openhab/openhabian/releases/tag/v1.7.3

However, I finally figured it out thanks to your idea to look at the listening ports. I saw that port 8080 was listening, but only on IPv6. I reflashed the SD card one last time and disabled IPv6. This time it finally came up. Thank you for the help!

1 Like