With pinggy.io you can share the LM Studio local server from localhost with just a single command. Replace the port 1234 with the port where the server is running.
Start the server from the Developer tab in LM Studio first, then run the tunnel. Pinggy will give you a URL like https://ranlkfsbjkxry.a.pinggy.link, which works as the base URL for any OpenAI-compatible client.