For http
Ng serve
For https
Ng serve –ssl true
- https://stackoverflow.com/questions/54453112/how-to-run-angular-with-https-when-by-default-it-runs-with-http#:~:text=To%20enable%20https%2C%20you%20have%20to%20manually%20specify,--https%20--key%20%22Path%20where%20key%20stores%22%20--cert%20%22Path%22 - this link will show you how to remove warnings from the https stuff.