vscode-live-server icon indicating copy to clipboard operation
vscode-live-server copied to clipboard

Live server is not responding

Open Shashank-Kumar-gif opened this issue 1 year ago • 2 comments

Type: Feature Request

The live server is installed in the VScode very easly and have a go live option in stats bar but when i click on in it does not respond and nothing happen. Please try to solve my problem.

Extension version: 5.7.9 VS Code version: Code 1.83.0 (e7e037083ff4455cf320e344325dacb480062c3c, 2023-10-03T16:12:16.321Z) OS version: Windows_NT x64 10.0.19045 Modes:

Shashank-Kumar-gif avatar Nov 07 '23 23:11 Shashank-Kumar-gif

I have same problem earlier, if you have open two window vscode, and one of them have already start live-server, and you are trying to open live-server in another window, it will not be responding. and I solved it by close another window of live-server. i guess it's because the default port 5500 was occupied by one of vscode live-server, hope this will help you!

ephemeral108 avatar Nov 08 '23 03:11 ephemeral108

Go to “Edit system environment variables”

Click on “Environment Variables”

In the System tab, look for “PATH” or “Path”

Click on “Edit”

Add C:\Windows\System32

Click Ok and close everything.

If it doesn't work:

Uninstall the extension

Restart your computer.

Reinstall the extension

Go to the live server extension's settings

Click in "Edit in settings.json"

Remove the line “liveServer.settings.NoBrowser”: true,"

And manually add your preferred browser. Example:

“liveServer.settings.CustomBrowser”:“chrome:PrivateMode”

IF this help you, please follow me!

pedro-pelicioni avatar Jun 06 '24 08:06 pedro-pelicioni