tabnine-vscode
tabnine-vscode copied to clipboard
Cannot open configuration page when developing via vscode remote development
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?
same issue here
Same too.
Same here when using Remote SSH extension.
Solution found! Just setup a port forward on port 5555 and reload the page.
Solution A: Port forward by VS Code Remote SSH:
Solution B: Port forward by command line:
ssh -L 5555:127.0.0.1:5555 [email protected]
@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!
The proposed solution only works if the developer uses its LOCAL VS Code. What if developers work entirely remote, via browser?
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.