naspinski
naspinski

Reputation: 34707

ReCaptcha timing out when on server, not on local

I am using ReCaptcha via this method: http://www.dotnetcurry.com/ShowArticle.aspx?ID=611

Everything works great on my local machine - there are no problems there. When I upload it to the server, that is where the problem shows up.

I get the ReCaptcha image to render, but any time the request is sent, I get a timeout.

Markup:

...
<div class="editor-field">
    @ReCaptcha.GetHtml();
</div>

<p>
    <input type="submit" value="Create" />
</p>
...

Code:

...
if (!ReCaptcha.Validate(ReCaptchaValues.PrivateKey)) 
    throw new InvalidOperationException(Enporion.Localization.Properties.Resources.InvalidCaptcha);
...

Environment:

Any idea what I am missing - please let me know if you need any more information on the setup, thank you.

Upvotes: 2

Views: 610

Answers (1)

Adrian Godong
Adrian Godong

Reputation: 8921

Check your firewall settings. Make sure you allow port 80 outbound (not inbound).

Upvotes: 2

Related Questions