dreamerslab / express-todo-example

Express todo example with mongoose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i am new to node

evilqubit opened this issue · comments

the first time i run your code it work then the second time i am getting :

events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EADDRNOTAVAIL
at errnoException (net.js:884:11)
at HTTPServer.Server._listen2 (net.js:1003:19)
at listen (net.js:1044:10)
at net.js:1118:9
at dns.js:72:18
at process._tickCallback (node.js:415:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:901:3

commented

Hey @evilqubit I did not see this.

The port is taken. You might have already run this server in another console.