You just need to enable ssh and it should work.
One option would be that ssh server starts to early when there is no network connection? Try disabling it from LibreELEC settings, wait a minute and then enable it back. And try connecting again.
I out of ideas.