MSDeploy through a firewall

The build agent and the Team City server are not in the firewall but the MSDeploy target server is.  I have ports 80 and 8172 opened between the build agent and the target server but msdeploy still fails, complaining that it cannot connect.

What are the port requirements and the endpoints that need to be opened to enable the deployment through the firewall?

Thanks for any help!

Please sign in to leave a comment.