Hi,
If response from API side is getting delayed, then getting connection timeout error and server getting disconnect (localhost) with below error,
events.js:72
throw er; // Unhandled 'error' event
^
Error: connect ETIMEDOUT
at errnoException (net.js:905:11)
at Object.afterConnect [as oncomplete] (net.js:896:19)
How can we handle this issue.. Whenever timeout error occur, i am restarting the server. Is there any solution to fix this issue.. Please guide me to fix this issue with example..
I am using nodejs with expressjs framework. Is there any solution to autostart of server and redirect to home page like this..
Thanks,
Premkumar M.