Several extension connects to localhost instead of code-server #3205
-
I have just installed code-server on a VM (another host, not local) the other night, when I was syncing my extensions from my desktop VSCode I noticed several extensions not working. I set up caddy in another VM to reverse proxy to code-server from a domain. I cannot connect to the extension local service because it is in localhost, but I am accessing code-server through a subdomain on a reverse proxy. For example, the Tabnine extension has a local http service at port 5555 for its setup. When I access the setup page, my browser connects to 127.0.0.1:5555 instead of code-server which results in a blank page. Is there any way to change it to access /proxy/5555 instead? Or am I missing a step here?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'm not familiar with the Tabnine extension but there might be a setting to change the URL. I think most extensions assume they are running locally so they will not have this option. Does it work if you manually go to If not, some workarounds I can think of are:
|
Beta Was this translation helpful? Give feedback.
I'm not familiar with the Tabnine extension but there might be a setting to change the URL. I think most extensions assume they are running locally so they will not have this option.
Does it work if you manually go to
/proxy/5555
to complete setup?If not, some workarounds I can think of are: