Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
A process in nodejs automatically repeat for infinite time
When i start a index.js file through command line
It starts but, it print the result multiple time even a single user is connected.
7544816137 is connected gX8dcI27WNRNww6QAAAd gX8dcI27WNRNww6QAAAd connected as id 277 7544816137 is connected gX8dcI27WNRNww6QAAAd gX8dcI27WNRNww6QAAAd connected as id 277
This happens on digital ocean server only, It doesn’t happen on localserver.
Please tell me a way to resolve this problem