【发布时间】:2011-08-30 01:24:31
【问题描述】:
我正在使用 node.js 构建 TCP 服务器,但出现以下错误。如何解决?
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 Socket._onReadable (net.js:631:22)
at IOWatcher.onReadable [as callback] (net.js:177:10)
【问题讨论】:
-
您的连接超时,我们需要更多信息然后这个。这可能意味着您的客户端或服务器崩溃或您的 TCP 端口被阻止。
标签: javascript tcp node.js epoll