1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

"Port 4200 is already in use" when running the ng serve command

Discussão em 'Angular' iniciado por peztherez, Outubro 12, 2024.

  1. peztherez

    peztherez Guest

    I am learning angular 2 and for the first time I am using the angular CLI project to create a sandbox project.

    I was able to run the command "ng serve" and it works great. I wanted to stop it from running so I ran "Control Z".

    When I tried to run the "ng-serve" command again it gives me "Port 4200 is already in use."

    I ran "PS" to get a list of the PID and killed the PID for the angular-cli and ran "ng-serve" again still it gives the same port in use error.

    Continue reading...

Compartilhe esta Página