CFHTTP和IIS 7连接失败(非SSL) [英] CFHTTP and IIS 7 Connection Failture (NOT SSL)

查看:244
本文介绍了CFHTTP和IIS 7连接失败(非SSL)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图对在IIS7上运行的本地网站进行非常简单的CFHTTP GET调用,但它会引发408连接失败。



我做了所有明显的事情:


  1. 在本地的hosts文件中

  2. 我为IIS压缩问题添加了CFHTTPPARAM标记(deflate; q = 0)




  3. 对google.com执行CFHTTP工作正常,没有本地网站可用。



    任何人成功通过这个问题?

    解决方案

    这是一个坏的实现。使用cfx_http。


    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 tags 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?

    解决方案

    It's a bad implementation. Use cfx_http.

    这篇关于CFHTTP和IIS 7连接失败(非SSL)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆