我已通过Visual Studio 2010将Web应用程序部署到Windows Azure,Windows Azure SDK版本为1.8。 部署在生产中完成,状态显示为正在运行,但我无法访问站点URL。当我尝试访问网站网址时,浏览器发出错误“找不到网页”。 由于对错误没有任何线索,请有人给出正确的方法来知道为什么不能访问webrole无法访问Windows Azure部署的webrole
0
A
回答
0
配置您的web.config显示堆栈跟踪。这会给你一个线索。
如果你绝对不能有任何访问者都可以看到堆栈跟踪它更改为仅限远程和witin这样的Web服务浏览网站:http://geekswithblogs.net/MagnusKarlsson/archive/2012/12/03/connect-to-running-web-role-from-remote-desktop-connection-and.aspx
或将其设置为关闭,部署和浏览。那就是当我有一个不在生产模式下的测试点时我所做的。
http://msdn.microsoft.com/en-us/library/h0hfz6fc(v=vs.71).aspx
<customErrors defaultRedirect="url"
mode="On|Off|RemoteOnly">
<error statusCode="statuscode"
redirect="url"/>
</customErrors>
1
我遇到了同样的问题,当我第一次开始在Azure上。 以下是如何做到这一点; 去湛蓝的面板,
- 点击你的虚拟机
- 点击enpoints
- 单击添加
- 选中添加一个独立的端点(按钮)
- 单击下一步
- 进入以下详细信息: 名称:HTTP,协议:TCP,公用端口:80,私有端口:80
- 完成并等待几分钟(我的时间为40秒)
您的网站网址现在可以从任何浏览器访问。
祝你好运,
相关问题
- 1. Windows Azure WebRole卡在部署循环中
- 2. Azure WebRole OnStart升级部署
- 3. 部署Azure Webrole开始受阻
- 4. 如何访问作为Azure Webrole中部署的一部分的文件
- 5. Windows Azure部署问题
- 6. Windows Azure - 从单独的workerrole访问webrole本地存储
- 7. Azure NPM问题:msnodesql无法部署
- 8. jboss部署问题 - 无法访问servlet
- 9. Windows Azure - 限制IP地址范围以访问WebRole
- 10. 从Azure中部署的App API无法访问Azure中的DocumentDB集合
- 11. 无法部署到Azure
- 12. 无法通过RDP访问Azure Windows VM
- 13. Windows Azure虚拟机无法访问microsoft.com
- 14. Windows Azure上的事件存储无法在外部访问
- 15. 无法访问已部署的报告
- 16. 使用WebRole部署WCF服务到非Azure Hoster
- 17. Windows Azure的多个部署
- 18. Windows上的OpenCV部署azure
- 19. 在Windows Azure上部署问题
- 20. 部署Windows Azure的部署问题,仅部署新的/更新的内容
- 21. 部署Tomcat WebApp但无法访问
- 22. 从证书部署到Windows Azure访问私钥
- 23. 在Windows Azure中部署时拒绝访问URL?
- 24. 如何访问部署AD Azure中
- 25. 无法访问SQL Azure的
- 26. 无壳访问部署symfony
- 27. Azure WebRole MVC4安装问题
- 28. 在Windows Azure上部署Yii
- 29. Umbraco部署到Windows Azure
- 30. 无效的跨线程访问Windows Azure