From 351eff202e33ab86f28b57d258a67ae55d6fb5a5 Mon Sep 17 00:00:00 2001 From: Abdulaziz Almalki <6727182+abdulazizalmalki-gh@users.noreply.github.com> Date: Sun, 1 Feb 2026 00:34:06 +0300 Subject: [PATCH] Update README with server configuration details Added server configuration instructions for local network access. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 6952b6af..6e985d1b 100644 --- a/README.md +++ b/README.md @@ -28,12 +28,23 @@ lms You can use `lms --help` to see a list of all available subcommands. +## Server Configuration + +By default, the LMS server only accepts connections from localhost (`127.0.0.1`). To serve to your local network: + +```bash +lms server start --bind 0.0.0.0 +``` + For details about each subcommand, run `lms --help`. Here are some frequently used commands: - `lms status` - To check the status of LM Studio. - `lms server start` - To start the local API server. + - Use `--bind 0.0.0.0` to serve to the local network (default: localhost only) + - Use `--port ` to specify a custom port + - Use `--cors` to enable CORS for web development - `lms server stop` - To stop the local API server. - `lms ls` - To list all downloaded models. - `lms ls --json` - To list all downloaded models in machine-readable JSON format.