Luau lsp not connecting to vscode

I’m using rojo and for whatever reason whenever i try to hit connect on the Luau LSP plugin it gives me a warning and doesn’t connect.


i have uninstalled and reinstalled the plugin on both vscode and Roblox studio multiple times and that didn’t really change anything. my internet is fine because I’m able to use Roblox LSP just fine.
I couldn’t really find any solutions to this problem on Youtube or on the dev forum so any help would be very helpful.

Does vscode return any errors?

not sure. do you mean like in the output? i dont really use vscode much outside of roblox studio stuff. where would i look for errors?

by checking luau-lsp source code, we can find that plugin uses HttpService:RequestAsync

so the reason may be the port was occupied or something else, you can try to change another port. the default port is 3667, ig you can type netstat -aon|findstr "3667" in windows cmd to find which process is using this port…?

image

thank you for the reply, i just tried typing that command into my command prompt and it gave no output. i also tried using a different port number which didn’t work either. both of these gave no output in the command prompt and both times i got the same error from earlier in studio.