NIO项目中出现了这个错误:

java.net.ConnectException: Connection refused: no further information

一般是因为InetSocketAddress的主机名、端口号写错,或者要连接的服务器没有启动造成的。

相关文章:

  • 2022-12-23
  • 2021-06-19
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2020-10-20
  • 2022-12-23
  • 2022-01-10
猜你喜欢
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2021-07-07
  • 2021-10-17
相关资源
相似解决方案