title: SonarQube server can not be reached
body: <p>I have installed Jenkins and SonarQube 5.1.1 (also tried LTS), It's running on a Ubuntu server and its accessible from outside. I have installed the Jenkins SonarQube plugin and everything is almost working. If I set SonarQube Server URL in Jenkins to localhost then everything works great. But then the link to SonarQube (inside Jenkins) will point to localhost and that's not ok when I'm accessing Jenkins from outside.</p>
  
  <p>If i set Server URL to my real IP for example 111.112.113.114 then i get an error message saying server can not be reached.</p>
  
  <blockquote>
    <p>[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project com.ericsson.dx.lta.parent: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at <a href="http://111.112.113.114:9000/sonar" rel="noreferrer">http://111.112.113.114:9000/sonar</a>. Please check the parameter 'sonar.host.url'. Read timed out -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project com.ericsson.dx.lta.parent: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at <a href="http://111.112.113.114:9000/sonar" rel="noreferrer">http://111.112.113.114:9000/sonar</a>. Please check the parameter 'sonar.host.url'.</p>
  </blockquote>
  
  <p>But i have no problem accessing SonarQube in the browser from another computer.</p>
  
  <p>In sonar.properties i have tried with different settings on sonar.web.host such as sonar.web.host=0.0.0.0 and sonar.web.host=111.112.113.114</p>