I'm not sure why but changing file names (removed special characters) worked only if i do it manually it still doesn't load the browser automatically though..
Answer from DuckDuckGoose on Stack OverflowI'm not sure why but changing file names (removed special characters) worked only if i do it manually it still doesn't load the browser automatically though..
The issue might be caused by the spaces and special characters (^, &) in your file or folder name.
I had the same problem, but after I changed my folder name from HTML & CSS to HTML and CSS, the problem was solved. hope that helps.
Visual Studio Code Live Server Not Working
Live-Server not working in Visual Studio Code port 5500 - Stack Overflow
Error on port 5500. Please try to change the port through settings or report on GitHub.
Where to set value of liveServer.settings.port in live server extension of visual studio code - Stack Overflow
Videos
I decided to brush up my html after a month, I opened my folder, and wrote some html and saved the file, clicked on live server as usual, but it didn't open a window featuring the website.
What I have already done so far:
Restarted both the pc and VS code.
Reinstalled Live server extension on VS code.
Made sure the default browser is chrome.
when I manually type in the localhost on any broswer, it does opens the folder which I am working with.
I got the answer I was editing the wrong settings.json there were two .json files.

Also, I put the below code:
{
"liveServer.settings.multiRootWorkspaceName": "",
"liveServer.settings.port": 0
}
But thanks Danny
I hope this helps: in the settings.json add the following line.
"liveServer.settings.port": 0,
A value 0 (zero) is used for a random port. Any other numbers is for a fixed port number.
Reinstalled everything, restarted vscode and my pc as well.Tried every other way of starting it and its not working.Problem appeared today