-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Add a way to proxy/tunnel ports or view files through code-server #512
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
Comments
If I understand you correctly you are asking how to expose a port right? You can do this by adding the flag |
This is what I am doing now, but I want to try to do something similar to eclipse che. They allow you to map internal http services to a child mountpoint. That way you only have one port to deal with in a reverse proxy situation. |
This would be really cool to see. Is there a known, fixed list of api routes that codeserver uses? If some routes are guaranteed to be unused, it would allow a proxy to route a subset of http paths on the same domain to different ports in the container. Say I'm hosting codeserver in a docker container on a server that has a proxy for automatic https, lets say I put it at But I'm not sure |
@infogulch I like your idea, and I'd like to contribute to brainstorming a way of possibly narrowing down request paths, but I feel like this deviates too much from the OP's original issue. How about a separate issue? |
Duplicate of #1292 |
Regarding viewing files anyway. Gonna open a new issue regarding port forwarding. |
I am trying to use the docker installed version of the server and can start my application correctly, but I cannot figure out how to connect to it via the browser. On the desktop code I access it on http://localhost:5000. I changed it so that it will listen on all interfaces, but I still cannot contact it from outside the docker. Is there a way to redirect a URL from the exposed site? Or do I need to expose the port in docker and access it that way?
The text was updated successfully, but these errors were encountered: