Skip to content
Discussion options

You must be logged in to vote

Sounds like we need to add that to the docs! It's not very obvious, but if you run code-server --help, you see this flag:

--bind-addr            Address to bind to in host:port. You can also use $PORT to override the port.

If you just want to override the port, you can do PORT=3000 code-server which is what I usually do.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@katsie03
Comment options

@katsie03
Comment options

@jsjoeio
Comment options

@katsie03
Comment options

@code-asher
Comment options

Answer selected by jsjoeio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants