When runs the app as node app.js
It displays as it displays below
info - socket.io started
warn - error raised: Error: listen EADDRINUSE
events.js:72
throw er; // Unhandled 'error' event
^
Error: failed to connect to [localhost:1664]
at null. (D:\RTC\ProjectRTC-login\node_modules\mongoose\node_modu
les\mongodb\lib\mongodb\connection\server.js:556:74)
at emit (events.js:106:17)
at null. (D:\RTC\ProjectRTC-login\node_modules\mongoose\node_modu
les\mongodb\lib\mongodb\connection\connection_pool.js:156:15)
at emit (events.js:98:17)
at Socket. (D:\RTC\ProjectRTC-login\node_modules\mongoose\node_mo
dules\mongodb\lib\mongodb\connection\connection.js:534:10)
at Socket.emit (events.js:95:17)
at net.js:441:14
at process._tickCallback (node.js:442:13)
When runs the app as node app.js It displays as it displays below info - socket.io started warn - error raised: Error: listen EADDRINUSE
events.js:72 throw er; // Unhandled 'error' event ^ Error: failed to connect to [localhost:1664] at null. (D:\RTC\ProjectRTC-login\node_modules\mongoose\node_modu
les\mongodb\lib\mongodb\connection\server.js:556:74)
at emit (events.js:106:17)
at null. (D:\RTC\ProjectRTC-login\node_modules\mongoose\node_modu
les\mongodb\lib\mongodb\connection\connection_pool.js:156:15)
at emit (events.js:98:17)
at Socket. (D:\RTC\ProjectRTC-login\node_modules\mongoose\node_mo
dules\mongodb\lib\mongodb\connection\connection.js:534:10)
at Socket.emit (events.js:95:17)
at net.js:441:14
at process._tickCallback (node.js:442:13)
Kindly help me