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

  • Home
  • SEARCH
  • 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 7806753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:38:03+00:00 2026-06-02T02:38:03+00:00

For one or another reason, recently my Django Haystack Solr application stopped working. I’m

  • 0

For one or another reason, recently my Django Haystack Solr application stopped working. I’m using Haystack 1.2.7, and this is the error when trying to make a Solr query:

Failed to query Solr using ‘(name_auto:test) AND (django_ct:cities.city)’: [Errno 111] Connection refused

The obvious answer would be that my HAYSTACK_SOLR_URL is wrong, or that Solr is not running. I checked both these possibilities, and Solr is running, as it always has been, on the same address as the one specified in HAYSTACK_SOLR_URL. I can open it in a web browser, and even make queries on the web interface.

HAYSTACK_SITECONF = 'project.search_sites'
HAYSTACK_SEARCH_ENGINE = 'solr'
HAYSTACK_SOLR_URL = 'http://localhost:8080/solr'

So could there be another reason that Solr is refusing connections? How can I check? How do I fix it?

  • 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-02T02:38:05+00:00Added an answer on June 2, 2026 at 2:38 am

    The problem seems to have been caused by a recent system update that updated Jetty, the HTTP server I’m using to run Solr. It was refusing connections, because its settings file only allowed certain users. So I edited /etc/default/jetty to contain this line:

    JETTY_HOST=0.0.0.0
    

    So it now accepts all incoming connections, solving the problem. You can also specify the specific connection that Django will be using, to limit the possibility of abuse.

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

Sidebar

Related Questions

For one reason or another, we need to run our JSF2 application on a
For one reason or another I had to empty folder in my subversion repository
I have some classes that, for one reason or another, cannot be or need
How do I go about having two view models communicate with one another using
I am working with some business objects that relate to one another through their
Looking to produce some effects using particles bleeding into one another and slowly fading
For one reason or another, I sometimes find it useful or just interesting to
I am developing one application it's working fine and fast.But in device it's slow.I
For one reason or another, I have a few nasty JSON files in my
I was able to build one application up to this morning, then I don't

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.