Command line
Start BannerSystem on another port, in release mode or on one address.
Run these commands in the folder of BannerSystem.
Start
npm startThis runs node index.js 8000: BannerSystem listens on port 8000 on all network addresses of the server.
Choose the port
Give the port as the first argument:
node index.js 8080Release mode
node index.js 8000 --releaseWithout --release, BannerSystem runs in debug mode. Use release mode on a production server.
Listen on one address only
To accept connections only from the server itself, for example behind a reverse proxy, open index.js and remove the two slashes in front of this line:
options.ip = '127.0.0.1';Then start BannerSystem again.
Stop
Press Ctrl+C in the terminal where BannerSystem runs.