简体   繁体   中英

Azure VM: Can't access/ping port 80

I am new to the Azure platform so hopefully this is an easy question:

I am currently setting up a Sharepoint web farm through Azure. My current architecture looks like this:

  • A WIN2008 VM serving as my Domain Controller. I have the domain setup and AD running
  • A WIN2008 VM SQL2012 serving as my db server
  • A WIN2008 VM serving as my sharepoint web server.

All of the VMs belong to the domain.

I have sharepoint up and running on the sharepoint web server and I can access the sharepoint sites using //localhost. However, I cannot access the sites from an external computer (port 80). I cannot ping it with the IP Address or the *.cloudapp.net address. I have already ensured the firewall ports for 80 are open for all profiles. I have also setup an endpoint for port 80 on the sharepoint VM.

Any thoughts? I appreciate your help in advance.

To elaborate on the endpoint reference above:

There is a configuration page in the Azure portal that you need to check out to ensure that the proper ports are open AS WELL AS the ones on the Endpoints page for your windows VM. I assume the same would apply for other hosted OS VMs like Linux, etc.

查看VM的状态页面

When I came across the Endpoints tab for the VM in question on the Azure portal I noticed that there were RDP and PowerShell ports listed but no HTTP. After adding that I found that I could hit my IIS server on the VM. In a nutshell its like there are two firewalls, the one on your server and one on the Azure portal.

看起来你有一个答案,但值得注意的是你必须为你想要击中的任何东西设置端点。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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