开发者

How to solve process.nextTick error?

I am using node.js to build a TCP server and I got the following errors. How to solve this?

node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
Error: ETIMEDOUT, Connection timed out
    at Socket._readImpl (net.js:163:14)
    at Sock开发者_如何转开发et._onReadable (net.js:631:22)
    at IOWatcher.onReadable [as callback] (net.js:177:10)


Try handling the 'error' event on the TCP server you created. All unhandled 'error' events cause an unhandled exception on node.js

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜