Getting connection timeout error and server getting disconnect in localhost

66 views
Skip to first unread message

prem Kumar

unread,
May 11, 2015, 1:58:23 PM5/11/15
to nod...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages