Reputation: 8606
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
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
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