开发者

How to solve process.nextTick error?

开发者 https://www.devze.com 2023-03-07 04:40 出处:网络
I am using node.js to build a TCP server and I got the following errors. How to solve this? node.js:134

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

精彩评论

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