What causes HttpHostConnectException?

后端 未结 3 1940
没有蜡笔的小新
没有蜡笔的小新 2021-02-01 07:30

I have a Auto Complete/type ahead feature on Search for my website. I see that some time their is an exception associated with it. We are using a proxy server.



        
3条回答
  •  再見小時候
    2021-02-01 07:38

    In my case the issue was a missing 's' in the HTTP URL. Error was: "HttpHostConnectException: Connect to someendpoint.com:80 [someendpoint.com/127.0.0.1] failed: Connection refused" End point and IP obviously changed to protect the network.

提交回复
热议问题