House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

CFHTTP in Distributed Mode

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
brad f
05/21/2012 01:03 PM

Have a problem with using an cfhttp get command while running in distributed mode. I have one test lab setup running coldfusion and iis on the same box and the cfhttp get command works great. The other is running in distributed mode (web and cf on different servers) and it fails every time with a "Connection Failure" error. I have eliminated almost all variables and am left that the only difference is one is running in distributed mode and the other is not. Both tests are running on IIS and Coldfusion 9. If anyone has any ideas as to why a cfhttp get would work on a non distributed mode vs a distributed mode.. I would love any suggestions. Thanks.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Phillip Duba
05/21/2012 02:15 PM

What does the URL look like? If you're using the address as if it is on the webserver, make sure the CFHTTP url is pointing to the web server, Phil ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
brad f
05/21/2012 03:32 PM

>What does the URL look like? If you're using the address as if it is on the ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
brad f
05/21/2012 03:33 PM

>Well, after some more troubleshooting.. realized that the CFHTTP Get was trying to >access the URL from the Coldfusion box and not the web box.. had to add the Proxy >statements to the CFHTTP command in order for the outside url to be accessible from >the CF applicatin box (had no public access on it)


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

June 18, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference