-
Hi there, I looked through your docs but found nothing with referencing to changing ports for code-server. Since port 8080 is somehow already within use on a clean vps (http-alt) and killing the task does nothing. Is there a way to change the port or does it have to be 8080? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
jsjoeio
Aug 11, 2021
Replies: 1 comment 5 replies
-
Sounds like we need to add that to the docs! It's not very obvious, but if you run --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 |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
jsjoeio
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:If you just want to override the port, you can do
PORT=3000 code-server
which is what I usually do.