Skip to main content
Participating Frequently
April 7, 2010
Question

CFHTTP on port 444

  • April 7, 2010
  • 1 reply
  • 1070 views

Does anyone have any idea if it is possible to use CFHTTP to connect to a server over port 444 instead of port 443. I cannot control the fact they have their HTTPS set up on port 444. Here is what I have tried:

1. Setting the port attribute in the cfhttp tag to 444

2. Adding :444 to the URL

3. Importing the certificate into the keystore

None worked. I am using CF 9

I do know about cfx_http5 and I am trying to figure it out without that.

Thanks for any help.

    This topic has been closed for replies.

    1 reply

    ilssac
    Inspiring
    April 7, 2010

    I would presume so.  We have a CF8 application happly talking to another server using port 4433 with SSL.

    But to do so we just did what you did.  Imported the certificate into the keystore and put the port into the <cfhttp...> tag.  Either with the port property or as part of the url property seemed to work fine.  I beleive we went with the port property.

    You may want to manually connect to the remote server over that port from the server in question.  There may be something in between, such as a firewall, preventing the connection.

    PaulBWAuthor
    Participating Frequently
    April 7, 2010

    I put the URL in a browser on the server and got a good response. I used cfx_http5 on the old 32-bit server and when I moved to the new 64-bit the library would not load so I am trying to get around using that tag.

    ilssac
    Inspiring
    April 7, 2010

    Is there an actual error message associated with the failure?

    Maybe in one the ColdFusion logs.

    Where we were setting this up we did run into a problem where ColdFusion was more particular about the server name in the certificate then the browser was.  Or the browser at least gave us the option to not be bothered by the mismatch.