• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Coldfusion through Internet Proxy

Guru ,
Mar 20, 2009 Mar 20, 2009

Copy link to clipboard

Copied

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.
TOPICS
Advanced techniques

Views

2.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 25, 2009 Mar 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

Votes

Translate

Translate
LEGEND ,
Mar 25, 2009 Mar 25, 2009

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 25, 2009 Mar 25, 2009

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Mar 25, 2009 Mar 25, 2009

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 25, 2009 Mar 25, 2009

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Mar 25, 2009 Mar 25, 2009

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation