How to use Remote LSP previously installed in remote machine

How do you configure the lsp-mode of zig to use the LSP installed in the server rather than trying to find an inexistent one in localhost?