WebDeploy not listening on port 8172

前端 未结 1 820
隐瞒了意图╮
隐瞒了意图╮ 2021-01-11 16:35

I\'m try to deploy a simple web application from my dev machine to IIS running on a Windows 7 Professional virtual machine.

On this machine I did the following:

相关标签:
1条回答
  • 2021-01-11 17:16

    There are two more steps you should check:

    1. Enable Remote Connections in IIS

    Just connect to the remote server through RDP, open IIS and open this option:

    In the right panel, stop it. This will actually stop Web Management Service. Then you will be able to check Enable remote connections flag. Check it, click the Apply option in the right panel, then Start.

    This is also necessary for enabling you to remotely connect to this IIS server from other computers (like your dev computer).


    2. Check Network Security Groups (if using AWS, Azure or some other service)

    If you are using AWS EC2 or Azure, opening 8172 port on the virtual machine itself is not enough. There are security groups with inbound/outbound rules as well.

    For AWS, you open your EC2 panel, go to Security Groups, then add a Custom TCP Rule for port 8172 as an Inbound Rule. Make sure you do it to the right Security Group (the one used by your Virtual Machine).

    Now, if you are using Azure:

    1. Open Azure Portal.
    2. Select "Virtual Machines" in the left panel.
    3. In the table, there is a column "Resource Group". Click the resource group for your VM.
    4. Click in the Network Security Group.
    5. Add the Inbound Rule for port 8172.

    That's it.

    0 讨论(0)
提交回复
热议问题