I just ended the tutorial of Angular 2 and I can\'t find a way to change the localhost port from 3000 to 8000. In my package.json
file there\'s the line \"sta
If you don't have bs-config.json
, you can change the port inside the lite-server module. Go to node_modules/lite-server/lib/config-defaults.js
in your project, then add the port in "modules.export" like this.
module.export {
port :8000, // to any available port
...
}
Then you can restart the server.