Skip to main content
Michael Borbor
Inspiring
March 20, 2009
Answered

Coldfusion through Internet Proxy

  • March 20, 2009
  • 5 replies
  • 2320 views
Hi guys I hope you can help this seems to be more a jvm related topic rather than CF thing. Anyway my internet connection is behind a proxy, So my question is how can I configure Coldfusion to route communications through a http/https Proxy?

Thanks for your help.
This topic has been closed for replies.
Correct answer Newsgroup_User
Michael Borbor wrote:
>
> I hope this clarify the topic a little bit.
>

Yes, that does speak to one of the specific ColdFusion functions that
would care about proxies. <cfhttp...> would be another prime one.

Have you seen some of these. Looks like you may need to bolt a utility
or two for ColdFusion to get through to GMail.

http://www.webtrenches.com/post.cfm/connecting-to-gmail-using-coldfusion

http://www.cfedge.com/index.cfm/2007/4/25/Using-CFPOP-to-Connect-to-Gmail-Using-Stunnel

5 replies

Michael Borbor
Inspiring
March 25, 2009
I just tried your first link doesn't seem to work, I'd already checked the second link and it works in an environment without a proxy.

Thanks.
Newsgroup_UserCorrect answer
Inspiring
March 25, 2009
Michael Borbor wrote:
>
> I hope this clarify the topic a little bit.
>

Yes, that does speak to one of the specific ColdFusion functions that
would care about proxies. <cfhttp...> would be another prime one.

Have you seen some of these. Looks like you may need to bolt a utility
or two for ColdFusion to get through to GMail.

http://www.webtrenches.com/post.cfm/connecting-to-gmail-using-coldfusion

http://www.cfedge.com/index.cfm/2007/4/25/Using-CFPOP-to-Connect-to-Gmail-Using-Stunnel
Michael Borbor
Inspiring
March 25, 2009
Hi Ian, yes I know that but in this case what I'm trying to do is use cfmail in order to send e-mail with my gmail account. So far I've discovered that these parameters configure a proxy inside ColdFusion:
-DproxySet=true
-Dhttp.proxyHost= -Dhttp.proxyPort=
-Dhttps.proxyHost=-Dhttps.proxyPort=

And also found out that you need to use java settings in order to enable ssl conecction if I want to use cfpop to connect to a gmail account.

But so far I haven't been able either to connect to gmail using cfmail or cfpop.

I hope this clarify the topic a little bit.
Inspiring
March 25, 2009
Michael Borbor wrote:
> Hi guys I hope you can help this seems to be more a jvm related topic rather
> than CF theme. Anyway my internet connection is behind a proxy, So my question
> is how can I configure Coldfusion to route communications through a http/https
> Proxy?

You don't, except for specialized functions of ColdFusion. ColdFusion
does not communicate with the user, the web server does. It is the web
server that needs to worry about http/https proxies and what not.

The request flow is this.

Client sends request to web server.

Web server sees request is for ColdFusion resource and hands it off to
ColdFusion

ColdFusion process requested CFML and builds response. Response is
returned to web server

Web server receives response and send it on to client.

Proxies are going to be between the web server and the client, not the
web server and ColdFusion.
Inspiring
March 25, 2009
Michael Borbor wrote:
> Hi guys I hope you can help this seems to be more a jvm related topic rather
> than CF theme. Anyway my internet connection is behind a proxy, So my question
> is how can I configure Coldfusion to route communications through a http/https
> Proxy?

huh ?

--
Mack