Connection error while pushing Package to Octopus server from VSTS

Hi,

When i am trying to push the package from VSTS Build definition step of push packages to octopus to the My destination server,
I am getting connectivity error like

System.Exception: Unable to connect to the Octopus Deploy server. See the inner exception for details. —> System.Net.Http.HttpRequestException: An error occurred while sending the request. —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.250.60.52:80

Eventhough we have added the NSG rules for the port 80 in Azure portal for my destination server.

Thanks,
Sathish K.

Hi Satish,

Thanks for reaching out! Besides adding the rules in the Azure portal, did you also add the rules on the windows firewall on the VM? This is a common pitfall with azure VMs

If that doesn’t help, could you try to manually push a package using nuget.exe push from your local machine to at least rule out its not a problem between VSTS and that VM alone?

Thanks,
Dalmiro