开发者

CFHTTP and IIS 7 Connection Failture (NOT SSL)

I'm trying to do a very simple CFHTTP GET call to a local website running on IIS7, however it throws a 408 Connection Failure.

I've done all the obvious things:

  1. The site is listed in the hosts file locally
  2. I've added the CFHTTPPARAM 开发者_如何学JAVAtags for IIS compression issues (deflate;q=0)
  3. Surfing to the URL in the browser works fine
  4. Doing a CFHTTP to google.com works fine, no local sites work at all.

When searching on Google there are others that have had this, but no solutions.

Anyone successfully got through this issue?


If you are using a private, or not well known certificate provider you may need to add the public key of the certificate provider to the JRUN keystore.

Here's more info on how to do that: http://cfmasterblog.com/2008/11/09/adding-a-certificate-to-the-coldfusion-keystore/


You may just need to restart CF if you changed your HOSTS file after CF was started. It caching DNS entries pretty greedily.


It's a bad implementation. Use cfx_http.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜