Skip to content

Commit 79acca5

Browse files
nol166kylecarbs
authored andcommitted
Fix port number in docs (#12)
1 parent 20dffc7 commit 79acca5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/self-hosted/index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
This document pertains to Coder specific implementations of VS Code. For documentation on how to use VS Code itself, please refer to the official [documentation for VS Code](https://code.visualstudio.com/docs)
1010

11-
It takes just a few minutes to get your own self-hosted server running. If you've got a machine running macOS, Windows, or Linux, you're ready to start the binary which listens on port `8080` by default.
11+
It takes just a few minutes to get your own self-hosted server running. If you've got a machine running macOS, Windows, or Linux, you're ready to start the binary which listens on port `8443` by default.
1212

1313
<!--
1414
DO NOT CHANGE THIS TO A CODEBLOCK.
@@ -20,7 +20,7 @@ It takes just a few minutes to get your own self-hosted server running. If you'v
2020
1. Visit [the releases](https://github.com/codercom/code-server/releases) page and download the latest cli for your operating system
2121
2. Double click the executable to run in the current directory
2222
3. Copy the password that appears in the cli<img src="../assets/cli.png">
23-
4. In your browser navigate to `localhost:8080`
23+
4. In your browser navigate to `localhost:8443`
2424
5. Paste the password from the cli into the login window<img src="../assets/server-password-modal.png">
2525
> NOTE: Be careful with your password as sharing it will grant those users access to your server's file system
2626
@@ -44,7 +44,7 @@ OPTIONS
4444
-d, --data-dir=data-dir
4545
-h, --host=host [default: 0.0.0.0]
4646
-o, --open Open in browser on startup
47-
-p, --port=port [default: 8080] Port to bind on
47+
-p, --port=port [default: 8443] Port to bind on
4848
-v, --version show CLI version
4949
--cert=cert
5050
--cert-key=cert-key
@@ -62,7 +62,7 @@ OPTIONS
6262
You can have the server automatically open the VS Code in your browser on startup by using the `code server -o` or `code-server --open` flags
6363

6464
### Port
65-
By default, code-server will use `8080` as it's port. This can be changed by using `code-server -p` or `code-server --port=` followed by the port you want to use.
65+
By default, code-server will use `8443` as it's port. This can be changed by using `code-server -p` or `code-server --port=` followed by the port you want to use.
6666
> Example: `code-server -p 9000`
6767
6868
### Cert and Cert Key

0 commit comments

Comments
 (0)