Vscode-live-server: Error on port 5500. Please try to change the port through settings or report on GitHub.

Created on 21 Nov 2018  Â·  10Comments  Â·  Source: ritwickdey/vscode-live-server

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

Most helpful comment

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.

All 10 comments

What error do you see? Did you tried to change the port?

1.open EXTENSIONS : MARKET PLACE

  1. select;Live Server
  2. 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.

It is showing Error : 50590

After the issue I reloaded the program and right clicked then selected the open with browser tab and it worked fine.

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.

i am using vs code while my creating my first html file i am getting port error 61960...
how to solve the issue

@4roch4 Can't thank you enough. I've been fighting with this for hours until your code worked perfect! Thanks again!

1.open EXTENSIONS : MARKET PLACE

  1. select;Live Server
  2. 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.

Thank you!!!!! a million thanks!

I followed the step by step, but I was unsuccessful. Now it is appearing in the Status Bar "Port: 50254 (disabled or without service). Before following the step by step the same message appeared, however" Port: 5500 (disabled or without service).
I am currently using vccode-preview-server successfully.

I would open settings and configurations and where it lists port 50254/5500
I would put "null 0" save and reset the program. this will force start the
apache and by pass fail error log, have fun lol cheers!

Please reply if you need more assistance!
if this step does not work, you might uninstall software and re install.

On Wed, Mar 24, 2021 at 1:42 PM LEONARDO KATTAH @.*>
wrote:

I followed the step by step, but I was unsuccessful. Now it is appearing
in the Status Bar "Port: 50254 (disabled or without service). Before
following the step by step the same message appeared, however" Port: 5500
(disabled or without service).
I am currently using vccode-preview-server successfully.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ritwickdey/vscode-live-server/issues/237#issuecomment-806172986,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKNIUCUD57TVK6IYTPQZHHLTFJFB5ANCNFSM4GFRIYFA
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  Â·  6Comments

Er-rchydy picture Er-rchydy  Â·  3Comments

GaoHengdong picture GaoHengdong  Â·  4Comments

mpower02 picture mpower02  Â·  6Comments

js76155 picture js76155  Â·  4Comments