Why would a “java.net.ConnectException: Connection timed out” exception occur when URL is up?

后端 未结 10 1770
傲寒
傲寒 2020-11-29 18:42

I\'m getting a ConnectException: Connection timed out with some frequency from my code. The URL I am trying to hit is up. The same code works for some users,

10条回答
  •  被撕碎了的回忆
    2020-11-29 19:13

    There is a possibility that your IP/host are blocked by the remote host, especially if it thinks you are hitting it too hard.

提交回复
热议问题