简体   繁体   English

Asp.net网站只能在我们公司的Internet连接上访问,而不能从其他网络访问

[英]Asp.net Website is only accessible on our company internet connection and not from other network

I am not sure if I am posting this in the correct section? 我不确定我是否将其发布在正确的部分?

I have released my asp.net website yesterday on our server, everything went well, I can access the website and even on my phone (connected to company WIFI). 我昨天在服务器上发布了asp.net网站,一切顺利,我可以访问该网站,甚至可以在我的手机上(连接到公司WIFI)。 When I disconnected from the WIFI on my phone and went back to my standard network, it takes forever to load and eventually just says: 当我从手机上的WIFI断开连接并返回到标准网络时,它要花很长时间才能加载,最终只能说:

Internet could not load the web page because [website] took to long to respond. The website may be down or you may be experiencing issues with your Internet connection

This was quite strange, I then re-enabled my WIFI on my phone, and viola, I have full access to the website and all features are working. 这很奇怪,然后我在手机上重新启用了WIFI,中提琴使我可以完全访问该网站,并且所有功能都可以正常使用。 The same issue is happening when I tried to access the site from my home computer. 当我尝试从家用计算机访问该站点时,也会发生相同的问题。

I am using MVC 3. SSL is enabled on the application. 我正在使用MVC3。在应用程序上启用了SSL。

I had a basic Asp.Net web application which just showed the look and feel to please the clients. 我有一个基本的Asp.Net Web应用程序,它仅显示了使客户满意的外观。 That I released the same as this and I could access it anywhere from external or internal networks, so it is really strange. 我发布的内容与此相同,因此我可以从外部或内部网络的任何位置访问它,这真的很奇怪。 Am I missing a step? 我错过了一步吗?

The weirdest part for me is that it works at my company, but I cannot access it from out side. 对我来说,最奇怪的部分是它在我的公司中正常工作,但是我不能从外部访问它。 The IIS on the server's binding setting for this application is also set to HTTPS on port 443. 服务器在此应用程序的绑定设置上的IIS也在端口443上设置为HTTPS。

Please let me know if you require more information as I will try my best to provide it. 如果您需要更多信息,请告诉我,我们将尽力提供。

Thanks in advance! 提前致谢!

So the issue was as Punit Ganshani MVP asked. 因此,问题就在Punit Ganshani MVP的要求下。 The firewall at our server house only allowed http and once https was added to the list the site worked instantly. 我们服务器所在的防火墙仅允许使用http,并且一旦将https添加到列表中,该站点便会立即运行。

Thanks for the suggestion. 谢谢你的建议。 This was my first asp.net project so i just assumed that I messed something up in the code or the project itself. 这是我的第一个asp.net项目,因此我以为我弄乱了代码或项目本身。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM