After updating to Mac os Big Sur my Live server has seemed to stop opening the HTML page in chrome.
It starts the port, and works fine If i type the exact address, but its not opening it directly..
I also noticed that there´s a new "Five Server" that apparently fixes this, but I've tried and still no luck with that extension either..
Tried reloading, reinstalling extensions VSC and restarting mac, but it keeps starting a port without opening the file in my browser.
Anyone know how to fix this?
html - Why Live Server is not opening the browser or loading - Stack Overflow
Live Server - Not Opening in Chrome Browser - HTML/CSS - Code with Mosh Forum
Live server is not opening the browser
Live server won't open browser for html files
Videos
Hello,
I used Live Server before and this issue never happened. For some reason, when I open an HTML file with live server, it just starts the server without opening the browser itself.
I Googled around and tried all sorts of settings. Here is my settings.json:
"liveServer.settings.donotShowInfoMsg": false,
"liveServer.settings.CustomBrowser": "chrome",
"liveServer.settings.NoBrowser": false,
}I tried changing the browser itself to a different one (my main one is edge) but it also didn't work.
Opening the URL manually works (127.0.0.1).
Any suggestions would be great.
I had this problem and I solved it by changing the port number in the settings.json file to an opened one.
To get to the settings.json file you just click CTRL+SHIFT+P, then type "settings", click the "Preferences: Open Settings (JSON)", then paste this inside the { }:
"liveServer.settings.port": 0
This will randomly pick an opened port each time. This is how my JSON file looks like:
{
"liveServer.settings.port": 0
}
If there are multiple lines in the JSON file, make sure each line is separated by a comma(,), like this:
{
"liveServer.settings.CustomBrowser": "microsoft-edge",
"liveServer.settings.port": 0
}
Re-install the extension and restart your text editor to fix the issue.