LSP not working

Dear all

I don’t get the error correction / highlighting of errors (red waved lines below code, I guess) in my openhab files working. I have set the settings.json as follows:

{
    "openhab.host": "openhabianpi",
    "openhab.port": 8080,
    "openhab.lspPort": 5007
}

What do I miss here?

Any help is much appreciated

Best regards
rolf

one amendment: for .js files the error correction/indication seems to work. For rules, items etc. nothing is showing up.

When VSC tries and fails to connect to openHAB LSP, you should get this message
[Error - 11:49:50 AM] Connection to server is erroring. Shutting down server.

Dear all

I got it working, however don‘t know why. In any case many thanks for the hints.

Best regards
Rolf

how did you get it working ?
add it to the tread so that if some one els might come up with the problem there is information available .