Unable to connect windows local SonarQube server from Azure Devops services build pipeline

I have configured the SonarQube developer version on my local windows laptop for evaluation. Configured the integration from Azure DevOps services build pipeline. noticed the below error when I run the pipeline.(Build pipeline is running on Microsoft hosted agent Agent pool)

==============================================================================
##[error][SQ] API GET ‘/api/server/version’ failed, error was: {“code”:“ECONNREFUSED”,“errno”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:27000}
Finishing: SonarQubePrepare

Thanks for your help.

Hi @sekhara.kothuri

Your SQ instance needs to be publicly available if you want it to be reachable from DevOps Services, ie, it should have either it’s own public IP or a domain registered along with it.

HTH,
Mickaël

Thanks, Mickael.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.