The other day I could log into my openhabian via PuTTY fine then today when I tried it, it just says “Unable to open connection to openhab Host does not exist” when I did the exact same thing as last time I logged on. I checked the hostname on my Raspberry Pi and it says openhab. Also on my Raspberry Pi it says “Then openHAB dashboard can be reached at http://openhab:8080” but when I go to that link it doesn’t work even though the other day it was working fine.
How long is the host up since reboot ? Is it 1 minute and 2 seconds or 1 hour and 2 minutes ?
In case it’s 1 minute then the webservice might not be up yet.
You can check that by e.g. running the command:
sudo netstat -tulpe --numeric-ports
This will list all listening ports. Check if port 8080 is in listening mode. Check if java is the executable that is running on that port.
What about the openhab.log file ? Any error message in it ?