Hello.
One more test that has proved to be good is also try the following to check if you can reach to the LibreOffice service.
telnet localhost 8100
In my case, that revealed a network config error (name resolution), and once I got that fixed, I could connect to LibreOffice.