Skip to content

Issue while trying to set up local server #2979

Answered by shantanuSakpal
AnshVM asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @AnshVM , I have solved this error #2979 on my Windows 10 machine.
(The error refers to the port 3000 already being used by some other process, I couldn't find a way to get the process which is using port 3000, so we will try port 8080.)

Just follow along these steps:-

  1. Click on Start button, and search "cmd", right click on command prompt , and choose, run as administrator.
  2. Then , navigate to the folder in which you have cloned the musicblocks repository. (for me it was "D:\Comp Sci\WebDev\musicblocks")
  3. Now type - python -c "import os, sys; os.system('python -m SimpleHTTPServer 8080') if sys.version_info.major==2 else os.system('python -m http.server 8080 --bind 127.0.0.1')"
  4. If it gi…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pikurasa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants