SonarQube server [https://xxxx.com/sonar] can not be reached

SonarQube Verison: 7.6
GIT version: 1.7
JacocoPlugin: 1.0.1
sonar-scanner-cli-4.0.0.1744.jar
sonarqube-ant-task-2.6.0.1426.jar

i have configured sonar in our ant project build.xml
when i run ant sonar in our build machine…its giving below error…

SonarQube server [https://xxxx.com/sonar] can not be reached

i am using ant project…
what should be mentioned in build.xml

Hello,
Are you able to reach the https://xxxx.com/sonar from a browser ?
If so, can you please try to ping the SonarQube server from the analysis server.
Alex.