ritwickdey / vscode-live-server

Launch a development local Server with live reload feature for static & dynamic pages.
https://ritwickdey.github.io/vscode-live-server
MIT License
5.66k stars 1.22k forks source link

Live server is not responding #2858

Open Shashank-Kumar-gif opened 10 months ago

Shashank-Kumar-gif commented 10 months ago

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:

ephemeral108 commented 10 months ago

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!

pedro-pelicioni commented 3 months ago

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!