Skip to content

Installation Support #3195

Answered by nooobcoder
ikeyurp asked this question in Q&A
Apr 23, 2021 · 3 comments · 21 replies
Discussion options

You must be logged in to vote

Dear @ikeyurp,

First, open this file with any editor like nano or vim

~/.config/code-server/config.yaml
Then change the port number with your desired port.
After opening the file, you will see similar output

Change the port number after the ip address in the ip-addr section.

Then, restart the code-server service
sudo systemctl restart code-server
sudo systemctl status code-server

If everything goes right, you would be able to access code-server at the new port followed by the ip-address. Also, the success logs would be similar.

@mrkaushal please refer to this answer and you should be good to go.

@ikeyurp i am impressed, you are using Termius to connect to the server via SSH, go on, Ter…

Replies: 3 comments 21 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@ikeyurp
Comment options

@nooobcoder
Comment options

@ikeyurp
Comment options

@nooobcoder
Comment options

@nooobcoder
Comment options

Answer selected by ikeyurp
Comment options

You must be logged in to vote
9 replies
@nooobcoder
Comment options

@mrkaushal
Comment options

@nooobcoder
Comment options

@mrkaushal
Comment options

@nooobcoder
Comment options

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