SonarQube server can not be reached

When i used maven build with :sonar:sonar" i got this error:“SonarQube server [http://10.56.197.55:9000] can not be reached”.

when i trying to reach:“http://localhost:9000/” with my browser i see the dashboard.

why the maven try to reach :“http://10.56.197.55:9000” instead of “http://localhost:9000/” ?
how i can fix it?

Hi,

Sounds like your settings.xml has been configured that that location. The docs should help.

 
Ann

And BTW, welcome to the community. I’ve just realized you posted the same thing ~18h earlier. Please don’t do that. I’m going to combine your two threads.

When i used maven build with :sonar:sonar" i got this error:“SonarQube server [http://10.56.197.55:9000] can not be reached”.
when i trying to reach:“http://localhost:9000/” with my browser i see the dashboard,
why the maven try to reach :“http://10.56.197.55:9000” instead of “http://localhost:9000/” ?
how i can fix it?

hi,
Did you able to resolve this issue because I am also facing the same issue…

kindly provide your thoughts on this issue