-
Notifications
You must be signed in to change notification settings - Fork 886
docs: clarify access URL in install flow #5626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -128,7 +128,10 @@ Run Coder: | |||
# Or just run the server directly | |||
$ coder server | |||
|
|||
Use Coder: | |||
Default URL: http://127.0.0.1:3000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the Default URL is :8080
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is for ./scripts/develop.sh
, but not when you install the binary/package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
```sh | ||
# Listen on port 80 | ||
export CODER_HTTP_ADDRESS=0.0.0.0:80 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you are using 0.0.0.0:80
but in L77 you are using 127.0.0.1:3000
This is a confusion.
@@ -55,7 +74,7 @@ configure the server by setting the following variables in `/etc/coder.d/coder.e | |||
CODER_ACCESS_URL=https://coder.example.com | |||
|
|||
# String. Address to serve the API and dashboard. | |||
CODER_ADDRESS=127.0.0.1:3000 | |||
CODER_HTTP_ADDRESS=127.0.0.1:3000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CODER_HTTP_ADDRESS=127.0.0.1:3000 | |
CODER_HTTP_ADDRESS=0.0.0.0:3000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure the default is the loopback address, according to the help text.
Partially resolves #5564