Open smuralimohan opened 2 years ago
I have also put the following statement in src/loaders/expressLoader.ts, but nothing is printed to the console.
export const expressLoader: MicroframeworkLoader = (settings: MicroframeworkSettings | undefined) => { console.log('Server listening on port::', env.app.port);
Am I missing any configuration or set up steps? Please help.
Hi,
When I ran the command - yarn start serve , the following shows up on the console, but the webserver is not running at all.
_$ nps serve nps is executing
serve
: nps banner.serve && nodemon --watch src --watch .env nps is executingbanner.serve
: ts-node --transpile-only ./commands/banner.ts serve/ |/ _ \ '_\ \ / / \ _ \ / | \ V / / |/_|| _/ \|
[nodemon] 1.18.9 [nodemon] to restart at any time, enter
rs
[nodemon] watching: E:\Work\TymePe\samplesserver\express-typescript-boilerplate\src/*/ .envI tried telnetting using- telnet localhost 3000, telnet 127.0.0.1 3000 and telnet 0.0.0.0 3000 etc... but it says that the port is not open. Connecting To 127.0.0.1...Could not open connection to the host, on port 3000: Connect failed
Am I missing something?