浏览到网站错误403 [英] browse to website error 403
本文介绍了浏览到网站错误403的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在开发服务器上的asp.net 4.0中以我的用户名创建了一个Web项目:
这是文件类型的文件系统,而不是http
当我想浏览到它时,我浏览到:
http://localhost:12345/web/default.aspx
这可以正常工作,但我的同事在浏览到与上述相同的地址时会收到以下消息:
消息是:
HTTP错误403-禁止
请问该问题的解决方法是什么?
谢谢
Hi,
I have created a web project in asp.net 4.0 on the dev server under my username:
This is of filetype filesystem and NOT http
When I want to browse to it, I browse to:
http://localhost:12345/web/default.aspx
This works fine but my colleagues get the following message when browsing to the same address as above:
The message is:
http error 403 - forbidden
What is the solution to this problem please?
Thanks
推荐答案
当您的同事尝试访问时,请使用您的ip地址或计算机名称,
本地主机只能由您自己的计算机访问.
如果您的朋友尝试使用localhost,它将尝试与他们的计算机一起检查该页面是否存在.
您必须使用
http://计算机名称:12345/web/default.aspx
或
http://10.1.190.2:12345/web/default.aspx
When you are colleagues are trying to access, use ur ip address or computer name,
localhost is accessible only to your own machine .
If your friends try to use localhost, it will try to check withing their machine that the page exists.
You have to use
http://computername:12345/web/default.aspx
or
http://10.1.190.2:12345/web/default.aspx
现在可以了.
不知道为什么.
还是谢谢你.
It is ok now.
Not sure why.
Thanks anyway.
这篇关于浏览到网站错误403的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文