Did you mean to visit: http://localhost:4200/?
Port 4200 is commonly used by:
This error occurs when another application is already using port 4200. Solutions:
ng serve --port 4201
"port": 4201
in the serve optionsnetstat -ano | findstr :4200
then taskkill /PID [PID] /F
lsof -i :4200
then kill -9 [PID]
By default, Angular's development server only listens on localhost:
ng serve --host 0.0.0.0
http://YOUR_IP:4200
If your code changes aren't showing up:
ng serve