错误:站点密钥验证码的域无效 [英] ERROR: Invalid domain for site key reCaptcha
本文介绍了错误:站点密钥验证码的域无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我注册了我的域并添加了密钥,但想在我的本地计算机上测试该站点.我将项目在我的计算机上发布到wwwroot,并在端口8080上运行.
I registered my domain and added the key but want to test the site on my local machine. I publish the project on my machine to wwwroot and at the moment it runs on port number 8080.
尝试在本地计算机上运行时出现错误ERROR: Invalid domain for site key reCaptcha
.
I get the error ERROR: Invalid domain for site key reCaptcha
when trying to run it on my local machine.
有没有办法在本地计算机上对此进行测试?
Is there a way testing this on the local machine?
推荐答案
通过 https:/检查您的域/www.google.com/recaptcha/admin ,如果您使用的是本地主机,则通常将您的域设置为本地主机".
Check your domains at https://www.google.com/recaptcha/admin, if you are using localhost you most set your domain to "localhost".
这篇关于错误:站点密钥验证码的域无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文