The annoying thing is that some Android devices will work, and others won’t. I’m not sure if the router makes any difference in serving up the hostname.
I ran that on my windows pc (can i run it on android somehow? ) using built-in bash, and got localdomain as well. Though that didnt work for me as well…
Thanks anyway!!
It looks like that is the problem. A correct url would be openhabian.mshome.net:8080. The domain suffix is being appended after the :8080 which is incorrect.
Not that I’m aware of. I feel like I had an Android device that didn’t work and then started to work, but I didn’t notice when that happened and lots had changed in-between. So it might have been that I changed my router, and it might even have just been a router firmware update.
If this is the same issue, it doesn’t matter what works in Windows. Your Android device just can’t resolve the local domain name.
I stumbled over this problem some weeks ago after the installation of an octopi printserver and found the following solution (unfortunately I have a device with German GUI and can just guess what the right menues will be in English): Go to “Einstellungen/Verbindungen/Weitere Verbindungseinstellungen/Privates DNS” and set it to “Automatisch” - should be something like “Settings/Connections/Advanced Connection Settings/Private DNS” and set it to “automatic”
I use a Samsung S8. On other devices and Android versions the setting might be hidden somewhere else.