azure devops agent - ##[error]No connection could be made because the target machine actively refused it.(ip number)


While trying to deploy application to the target server installed with azure devops agent, we are getting this error message. If you get this error, this means it is not due to an issue trying to send instructions/tasks to the target agent but the issue with target server trying to download artifact or something from Azure Devops. So it is outgoing traffic and the ip number above, is probably going to be your proxy to get to Azure devops. 

To resolve this, you need to check with your internal network admin to figure out which proxy to use and you need to update .proxy file. Updating the proxy file and restarting it, didn't work for me. 

So i had to re-configure (re-install) my agent and using the right proxy. 





Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm