当前位置: 动力学知识库 > 问答 > 编程问答 >

node.js - How can I specify port range in socket.io-client?

问题描述:

I am connecting to node server via another node server (using socket.io-client). After few connections, it gives me error:

Connect ECONNREFUSED.

I found that it tries to connect to unreachable port.

So, My questions:

  1. Is it error from server side or client side?
  2. If client side, how can I specify the range of ports in socket.io-client?

分享给朋友:
您可能感兴趣的文章:
随机阅读: