question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on port 5500. Please try to change the port through settings or report on GitHub.

See original GitHub issue

I’m submitting a…

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

Expected behavior

Environment

Browser:

- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: <!-- Check which version is installed --> 
- Platform:  <!-- Mac, Linux, Windows -->
- Visual Studio Code: <!-- `code --version` -->

Others

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:11

github_iconTop GitHub Comments

2reactions
4roch4commented, Oct 23, 2019

Hello,

I had this error. I resolved by removing the “” liveServer.settings.useBrowserPreview “: true,” configuration from the Live Server configuration file.

My cfg before:

{ “liveServer.settings.CustomBrowser”: “chrome”, “liveServer.settings.donotVerifyTags”: true, “liveServer.settings.port”: 0, “liveServer.settings.multiRootWorkspaceName”: “”, “liveServer.settings.useBrowserPreview”: true, “liveServer.settings.fullReload”: true, “liveServer.settings.useLocalIp”: true }

After: { “liveServer.settings.CustomBrowser”: “chrome”, “liveServer.settings.donotVerifyTags”: true, “liveServer.settings.port”: 0, “liveServer.settings.multiRootWorkspaceName”: “”, “liveServer.settings.fullReload”: true, “liveServer.settings.useLocalIp”: true }

I hope it helps someone.

1reaction
Almah2288commented, Sep 1, 2019

1.open EXTENSIONS : MARKET PLACE 2. select;Live Server 3. select; Configuration Extensions Settings 4.Select Examples this section: Examples : chrome --incognito --headless --remote-debugging-port=9222 C:\Program Files\Firefox Developer Edition\firefox.exe --private-window edit in settings.json

5.select the Edit in settings.json, add this line off codes: “liveServer.settings.port”: 0, and “liveServer.settings.multiRootWorkspaceName”: “0”

this should resolve the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where to set value of liveServer.settings.port in live server ...
"Error on port 5500. Please try to change the port through settings or report on GitHub." So, I opened the File->preference->Settings-> ...
Read more >
Errors | ngrok documentation
When something goes wrong with ngrok, we report a unique error code. ... Please log into https://dashboard.ngrok.com to view your options.
Read more >
How to Fix the 'PR_END_OF_FILE_ERROR' Secure ... - Kinsta
The first port of call is to disable any security or antivirus software. From there, you can check and reset any SSL or...
Read more >
Ports - Gitpod
Configure port opening · notify (default) - Show a notification for newly detected ports. · open-preview - Open the port URL in a...
Read more >
How to Fix Live Server in Visual Studio Code + Error on Port ...
Live Server - It's a very pleasent extension for all the web developers over there. It helps to open up your project in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found