0

I managed to install the nodebb forum very well and i was able to use it... On the next day , it failed to start and just crashes. I think my problem was that connect mongo cannot easily connect to mongodb database. probably help me look at this error.

    16/2 20:26 [4171] - info: Launching web installer on port 4567

events.js:72
        throw er; // Unhandled 'error' event
 Error: listen EADDRINUSE
    at errnoException (net.js:905:11)
    at Server._listen2 (net.js:1043:14)
    at listen (net.js:1065:10)
    at Server.listen (net.js:1139:5)
    at EventEmitter.listen (/home/goldsoft25/Desktop/NodeJS/NodeBB-master/node_modules/express/lib/application.js:617:24)
    at launchExpress (/home/goldsoft25/Desktop/NodeJS/NodeBB-master/install/web.js:53:15)
goldsoft25
  • 140
  • 1
  • 2
  • 10
  • are you using a windows or mac? – The Third Feb 21 '16 at 17:16
  • No... i am using linux mint.... ... It happened after installing some push notification server called countly server.. I think it creates another instance of mongdb database process. Thanx for your time – goldsoft25 Feb 23 '16 at 08:34

1 Answers1

0

This is a very common error for any of application running on top of node. Both applications are pointing to same port, 4567 in your case . You will have to change the port of one application or kill application when swapping between each app.

CuriousGuy
  • 3,818
  • 4
  • 24
  • 28
  • Thank you for your effort... I changed the port and it started working... but then it then stopped working ... so I restorted using the ./nodebb log which works perfectly even though the other nodejs applications are running – goldsoft25 Aug 16 '16 at 15:40