Coder.comC
Coder.com3y ago
14 replies
Thalimet

Port Forwarding in code-server

Alright, so I primarily do development with django/react, and I often need to use the url that ports are being forwarded to in various places throughout both. Is there any programmatic way of pulling the current url being port forwarded that I could use directly in my applications, say as an environment variable or something?

I'm using Coder on my home lab with a wildcard access url set (and working properly). There's not really any logs to send, because I'm not sure how to approach this to begin with.
Was this page helpful?