View previous topic :: View next topic |
Author |
Message |
WhistlingFish
Joined: 23 Sep 2008 Posts: 2
|
Posted: Tue Sep 23, 2008 5:13 am Post subject: IPN error: Unable to connect to remote server |
|
|
The postback to PayPal from my IPN server failed with this error until I reported the problem to my web hosting provider and implemented their solution. Presumably, it's not just my provider whose security settings are restrictive so for anyone else experiencing the same difficulty, their response to my support request appears below. Hopefully, it will give a clue as to the source of the problem.
Your issue is NetRegistry has implemented a security policy in the IIS environment which will stop ASP and .NET code from accessing external sites. Should you require access to an external site from your code, you will need to configure your code to channel the request via the following proxy details.
You will need to Configure the proxy server in the Machine.config or in Web.config file.
a. For Machine.config, you must modify defaultProxy element as follows:
<defaultProxy>
<proxy
usesystemdefault = "false"
proxyaddress="http://proxy.private.netregistry.net:3128"
bypassonlocal="true"
/>
</defaultProxy>
b. For Web.config, add the defaultProxy element as a child of the
System.net element.
<system.net>
<defaultProxy>
<proxy
bypassonlocal="true"
usesystemdefault="false"
proxyaddress="http://proxy.private.netregistry.net:3128"
/>
</defaultProxy>
</system.net>
Please note, it must be within the <configuration> tags and must not be inside the <system.web> tags. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue Sep 23, 2008 8:31 am Post subject: |
|
|
Thanks for posting this information. Their suggested change Web.Config fixed the issue for you? _________________ Infralution Support |
|
Back to top |
|
|
WhistlingFish
Joined: 23 Sep 2008 Posts: 2
|
Posted: Tue Sep 23, 2008 9:53 am Post subject: |
|
|
My web hosting provider's response was swift and professional and modifying Web.Config as they suggested fixed the problem immediately.
After reading in many forums how company X or company Y's customer support is nothing short of woeful, it's nice to be able to post something so positive about my own provider! |
|
Back to top |
|
|
|