Search code examples
pythonlinuxdjangovagrantedx

edX LMS port 8000 already in use (even after killing processes)


I got the following issue when I try to run my edX LMS (port 8000):

Error: That port is already in use

enter image description here

So in my vagrant account I found and did kill -9 on process which was using 8000. But as soon as I killed them, the process was automatically restarting and using port 8000 and I am unable to run LMS.

enter image description here


Solution

  • When that happens, I just do:

    vagrant reload
    

    (You will have to logout from SSH before by typing logout)


    It is equivalent to:

    vagrant halt
    vagrant up