title: SonarQube server can not be reached at http://localhost:9000 with Sonarqube-4.5.1
body: <p>I have recently setup Sonarqube-4.5.1 on my linux machine ( x86_64 x86_64 x86_64 GNU/Linux ).<br/>
  I am able to start sonar with <code>./sonar.sh start</code> command. On checking the sonar status with <code>./sonar.sh status</code> command, it says <code>SonarQube is running (18493)</code> but when i try to open the dashboard url <code>http://ip-address:9000</code> it shows "<strong>Connection refused</strong>" message on the browser.<br/></p>
  
  <p>On running the <code>mvn sonar:sonar -Dsonar.host.url=http://localhost:9000</code> command i get the following error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.4:sonar (default-cli) on project app-dao: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.4:sonar failed: SonarQube server can not be reached at http://localhost:9000. Please check the parameter 'sonar.host.url'. Connection refused -&gt; [Help 1]
  </code></pre>
  
  <p>I also tried the solution mentioned at <a href="https://stackoverflow.com/q/7518574">maven connecting to Sonar</a> and added the following entries in my maven's conf/settings.xml file, but still unable to fix the issue.</p>
  
  <pre><code>&lt;profile&gt;
    &lt;id&gt;sonar&lt;/id&gt;
    &lt;activation&gt;
     &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
    &lt;/activation&gt;
    &lt;properties&gt;
      &lt;!-- EXAMPLE FOR MYSQL --&gt;          
      &lt;sonar.jdbc.username&gt;admin&lt;/sonar.jdbc.username&gt;
      &lt;sonar.jdbc.password&gt;admin&lt;/sonar.jdbc.password&gt;            
      &lt;sonar.host.url&gt;http://localhost:9000&lt;/sonar.host.url&gt;
    &lt;/properties&gt;
  &lt;/profile&gt;
  </code></pre>