Skip to content

Conversation

nasa9084
Copy link

@nasa9084 nasa9084 commented Aug 7, 2025

The correct option name to give port number is --socket, not --port.

$ kotlin-lsp --help
Usage: kotlin-lsp [OPTIONS]

Options:
  --socket INT  A port which will be used for a Kotlin LSP connection. Default
                is 9999
  --stdio       Whether the Kotlin LSP server is used in stdio mode. If not
                set, server mode will be used with a port specified by
                `socket`
  --client      Whether the Kotlin LSP server is used in client mode. If not
                set, server mode will be used with a port specified by
                `socket`
  -h, --help    Show this message and exit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant