Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions 3_cli/1_serve/server-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ The `lms server start` command launches the LM Studio local server, allowing you

### Flags
```lms_params
- name: "--bind"
type: "string"
optional: true
description: "Bind the ip address to run the server on."
- name: "--port"
type: "number"
optional: true
Expand All @@ -26,6 +30,11 @@ Start the server with default settings:
```shell
lms server start
```
### Specify a custom address

```shell
lms server start --bind 127.0.0.1
Comment on lines +33 to +36
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Show a non-default bind address in custom example

The new “Specify a custom address” example uses 127.0.0.1, which is the default bind value, so readers following this section are not actually configuring a custom address. In practice this is misleading for users trying to expose the server beyond localhost (the CLI help describes 127.0.0.1 as default and suggests 0.0.0.0 for local-network access), so this section should demonstrate a genuinely non-default bind target.

Useful? React with 👍 / 👎.

```

### Specify a custom port

Expand Down
Loading