Issue of the topic:
Can’t connect to the language server.
Any idea?
Port scan shows it’s up and running. Also the logs show no error.
I saw some similiar topics in the community, but no real solution.
Where does the DNS “openhabianpi” come from at all?
I have only workspace settings. No setting under “user”
Are you sure about the port? it should be 5007 by default, if you want to use 4050 you’ll have to change it first in openHAB (Main UI → Settings → Services → Language Server (LSP)
In question of the “openhabianpi”: this is the hostname set in the Raspberry Pi, so it would change automatically to this name, I guess.
Ok, thanks for the hint. After some playing with the settings I had an additional config issue.
Language Server is running on port 5007. I did check it in the OH settings.
But even with this setting it isn’t working:
I’m not much more than a VSC user but recognize that there are two possible setting locations. The “global” one under the “wheel” at the bottom left and the “folder” one contained in the folder. AFAIK the folder one overrides whatever is in the global. My folder (samba shares accessed from windows) settings are simply (and working-maybe from something else I did a long time ago?)