ng serve --port 4201
npm start -- --port 4201
lsof -i :4201
(Mac/Linux)netstat -ano | findstr :4201
(Windows)
kill -9 $(lsof -t -i:4201)
(Mac/Linux)for /f "tokens=5" %a in ('netstat -aon ^| findstr :4201') do taskkill /PID %a /F
(Windows)
ng version
npm list @angular/core
Port 4201 is commonly used for: