Coder.comC
Coder.com2y ago
7 replies
Hrode

Missing "Open ports" feature

Hi,
I tried coder in CLI mode to test, and it worked well.
I switched to the docker version (the one I intend to use), and noticed the absence of the "Open ports" function..
Could be related: the console shows a error GET http://coder.internal/api/v2/integrations/jfrog/xray-scan?workspace_id=65029a0a-7d95-40f5-8b75-28ac22040c02&agent_id=8c885cdb-cb78-4d6f-acba-d74d6957642a 404 (Not Found), the response to which is {"message": "Route not found."}.

Here's my docker run :
docker run -d -it
   -v $CODER_DATA:/home/coder/.config
   -v /var/run/docker.sock:/var/run/docker.sock
   --group-add $DOCKER_GROUP
   -p 80:3000
   -e CODER_HTTP_ADDRESS=0.0.0.0:3000
   -e CODER_ACCESS_URL=http://coder.internal
   ghcr.io/coder/coder:latest


Did I miss something?
Solution
you are missing the wildcard URL definitions (CODER_WILCARD_ACCESS_URL environment variable)
Was this page helpful?