Access URL is not being used while port-forwarding.
Is there any way I can avoid using the localhost IP? (The same problem was with kubernetes templates, it was using localhost as an access url so I had to switch to docker)
13 Replies
<#1235166891589505034>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Also the HTTP address is
0.0.0.0:30162
but it is using port 30163
for some reason (I have never specified it)the URL that is used for the CLI is the one you used when doing
coder login
CODER_ACCESS_URL
is only a server side parameter
so you should redo coder login <URL>
with the proper URLthat fixed the port-forwarding, but is there a way to change
localhost
here?
i get this error while trying to create a workspace with a kubernetes templateyes, you have to change that in the template
okay, thanks for helping me!
@ay0ks closed the thread.
@ay0ks reopened the thread.
@Phorcys where exactly i can change that? searched in the template terraform file and couldn't find it
can you send your template over ?
main.tf
you want to configure the k8s host in the
provider "kubernetes" {
section
or you can set the use_kubeconfig
variable to true if kubectl
works on that machine and you don't want to use another account for Coder@ay0ks closed the thread.