SonarQube not reachable from Azure Devops


We are using SonarQube on a vm in Azure and trying to reach it from Azure Devops.
We have an nsg with port 9000 open and when we try to do a build we get the error: ##[error][SQ] API GET ‘/api/server/version’ failed, error was: {“code”:“ETIMEDOUT”,“errno”:“ETIMEDOUT”,“syscall”:“connect”,“address”:"*********",“port”:9000}
What am I missing here?