In the quickstart demo of Angular 2 the lite server is listening to the port 3000.
I don't understand why the request is sent to the port 3000 when the application is launched. Where is this value assigned? Is it possible to change it?
In the quickstart demo of Angular 2 the lite server is listening to the port 3000.
I don't understand why the request is sent to the port 3000 when the application is launched. Where is this value assigned? Is it possible to change it?
Yes, you can change the port via a bs-config.json
file, which allows you to specify the port, the default browser and other parameters.
Details here: https://github.com/johnpapa/lite-server