Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8689277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:36:19+00:00 2026-06-12T23:36:19+00:00

I changed my Sonar to run on localhost:9100 instead of default localhost:9000. I restarted

  • 0

I changed my Sonar to run on localhost:9100 instead of default localhost:9000. I restarted the server and I can browse to the new address. However when I execute Sonar using Ant, I get the below exception.

org.sonar.batch.bootstrapper.BootstrapException: Connection refused

Looking at Sonar Ant logs, it clearly states:

[sonar:sonar] Sonar server: http://localhost:9000

Why does Ant still try to execute Sonar at port 9000? The port is only defined (and changed) in the Sonar properties file that is read when Sonar server is started. The port is therefore not defined in the Ant target script or property.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:36:21+00:00Added an answer on June 12, 2026 at 11:36 pm

    You must specify the following property

    sonar.host.url=http://localhost:9100
    

    , if you want Sonar batch to connect to the correct URL.

    You can set it either as a property in your Ant script or a JVM parameter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I changed my Sonar DB from Oracle to Default Derby. I successfully configured the
I changed my css in /tinymce/jscripts/tiny_mce/themes/advanced/skins/default/content.css scrollbar-base-color: #32332E; scrollbar-arrow-color: #32332E; scrollbar-3dlight-color: #3F423B; scrollbar-darkshadow-color: #92968A;
I changed from running Use Visual Studio Development Server to Local IIS Web Server
I changed a lot of linux machines with one command(run as root): passwd &lt&ltEOF
I changed the folder that my WordPress installation was in. However, this worked fine,
I changed the output path of the test project, because the default path doesn't
During the test in sonar i just wanna some rules to be changed so
Already changed file php.ini And the index.php file contains: <?php $server = 'name/SQLEXPRESS'; $link
I changed my Manifest to target API 16 because of a thing with ActionBarSherlock,
[Edit] changed return 0 to return . Side effects of beinga Python n00b. :)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.