ngrok to expose local Angular app running on https and 4200 port

Viewed 863

Which command to use to expose my local Angular app running on HTTPS:

https://localhost:4200

Usually I use ngrok http --host-header=rewrite 4200 with Angular apps when it's just http.

1 Answers

The correct command to expose a local https server is :

ngrok http -host-header="localhost:4200" https://localhost:4200
Related