# The language server stopped

What "the language server stopped" means and how to fix it.

```text
error: the language server stopped: the editor closed the connection
hint: Restart the language server from the editor.
```

## Why it happens

[`axle lsp`](https://axlers.dev/docs/reference/lsp.md) talks to the editor that started it over standard input and output. It stops with this error when the editor closes the connection without asking it to shut down first, or sends something that isn't the Language Server Protocol, such as text typed into a terminal.

## How to fix it

Restart the language server from the editor. In VS Code, run **Developer: Reload Window**. `axle lsp` is meant to be started by an editor, not typed into a terminal.
