wrj95 / NodeDock

A enviroment node.js with dockerfile.
0 stars 0 forks source link

Error Nodemon and Node #1

Open wrj95 opened 6 years ago

wrj95 commented 6 years ago

Hi Guys

When I execute my server.js in Node Container, appear this error msg:

" **_events.js:165 throw er; // Unhandled 'error' event ^

Error: listen EADDRINUSE 0.0.0.0:8080 at Server.setupListenHandle [as listen2] (net.js:1345:14)_ at listenInCluster (net.js:1386:12) at doListen (net.js:1501:7) at process._tickCallback (internal/process/next_tick.js:114:19) at Function.Module.runMain (module.js:692:11) at startup (bootstrap_node.js:194:16) at bootstrap_node.js:666:3 Emitted 'error' event at: at emitErrorNT (net.js:1365:8) at process._tickCallback (internal/process/next_tick.js:114:19) [... lines matching original stack trace ...] at bootstrapnode.js:666:3** "

Anyone can help me ?

wrj95 commented 6 years ago

I got it resolve this problem, it was not a error, I was executing a Code File that already runnig in container