tabnine-vscode icon indicating copy to clipboard operation
tabnine-vscode copied to clipboard

Cannot open configuration page when developing via vscode remote development

Open wuliang142857 opened this issue 4 years ago • 6 comments

Hello. I remotely connect to Linux on Windows via vscode's [VS Code Remote Development] (https://code.visualstudio.com/docs/remote/remote-overview). Now I am going to configure Api Key via Tabnine::Config, but I can't open http://linux_server:5555 in my browser. I guess because TabNine bind is the 127.0.0.1 address. Instead of 0.0.0.0 or all available IPs for this Linux machine. Can you solve my issue?

wuliang142857 avatar Nov 07 '19 05:11 wuliang142857

same issue here

raulftang avatar Nov 26 '20 08:11 raulftang

Same too.

Anthodev avatar Feb 27 '21 16:02 Anthodev

Same here when using Remote SSH extension.

hiramhuang avatar Mar 04 '21 17:03 hiramhuang

Solution found! Just setup a port forward on port 5555 and reload the page.

Solution A: Port forward by VS Code Remote SSH:

2021-03-05 at 01 58 47@2x

Solution B: Port forward by command line:

ssh -L 5555:127.0.0.1:5555 [email protected]

hiramhuang avatar Mar 04 '21 18:03 hiramhuang

@hiramhuang yes you're right it works since vscode 1.54 because i tried already that before (1.53) but the port forwarding didn't worked well at that time.

Good thing that's working now!

Anthodev avatar Mar 05 '21 08:03 Anthodev

The proposed solution only works if the developer uses its LOCAL VS Code. What if developers work entirely remote, via browser?

thalesfsp avatar Jun 23 '22 19:06 thalesfsp

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 13 '22 16:10 stale[bot]