被其访问权限禁止 [英] forbidden by its access permissions

查看:103
本文介绍了被其访问权限禁止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在我的项目中使用HttpWebRequest类,正在对https和http页面进行调用.

Https请求工作正常.

Http请求将以下错误抛出到同一站点.

异常消息:无法连接到远程服务器

内部消息:尝试以其访问权限禁止的方式访问套接字68.142.215.20:80

我已经用Google搜索解决方案,但没有找到正确的解决方案.

谢谢,
nagaraj

Hi ,

I using HttpWebRequest Class in My project, I am making calls to both https and http pages.

Https Requests are working fine.

Http requests are throwing the below error to the same site.

Exception Message: Unable to connect to the remote server

Inner message: An attempt was made to access a socket in a way forbidden by its access permissions 68.142.215.20:80

I have googled for solution, didn''t get correct solution.

Thanks,
nagaraj

推荐答案

错误是自我描述的.您正在访问的Uri在端口80上没有授予访问权限,出于安全原因,该端口受到限制.尝试在浏览器中访问它,如果不起作用,请与网站所有者联系以获取更多信息.如果它是您的网站,请检查权限.
The error is self describing. The Uri you are accessing not giving access at port 80 which is restricted for security reasons. Try to access it in browser and if not works contact the site owner for more information. If it is your site then check the permissions.


这篇关于被其访问权限禁止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆