I installed sonarqube locally using docker and it worked (http://192.168.1.xx:9000).
I wanted to do an analysis of my project which is on gitlab.
For that, I created a file “sonar-project.properties”.
in the file “gitlab ci”, I added these lines of codes
One of the first things that happens during analysis is that the scanner contacts the server to get the data it will need to run the analysis. That call is failing, meaning that your GitLab instance can’t talk to your SonarQube instance. I suspect this is about the visibility of your Docker-hosted SonarQube to the network.