Arun Rana
Arun Rana

Reputation: 8606

Problem with recaptcha when testing it with IIS (localhost)

I am using recaptacha in my application and when i am testing it with IIS then it gives me error "operation time out" on recaptcha.validate method however it's work very fine with local port , what should be the reason of that and what should be solution?

Upvotes: 5

Views: 3425

Answers (2)

Mayank Pathak
Mayank Pathak

Reputation: 3681

Bigb is right, recaptcha do requires port 80 to communicate with google servers.

Checkout below threads

You need to add proxy server setting for recaptcha in your web.config file

Example Taken from here

<system.net>
<defaultProxy>
<proxy usesystemdefault = "false" bypassonlocal="false"
   proxyaddress="http://ntproxyus.lxa.perfora.net:3128" />
</defaultProxy>
</system.net>

Upvotes: 4

angularconsulting.au
angularconsulting.au

Reputation: 28259

If you are running your app on different machine, check firewall settings there, recaptcha requires port 80 outbound to communicate with Google servers.

Upvotes: 2

Related Questions