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 3677712
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:15:18+00:00 2026-05-19T03:15:18+00:00

My Mac battery ran out while I was running a Rails 3 app, and

  • 0

My Mac battery ran out while I was running a Rails 3 app, and after I plugged my Mac in and restarted it, I tried running my Rails app’s development server (using mysql for the database). Upon trying to update something, I got “Errno::ECONNREFUSED (Connection refused – connect(2))”. It turns out that I get this every time I try to post or update now.

There doesn’t seem to be any actual problem with the database. I can create new rails apps that work with sqlite, mysql, or postgres, but this old app, which worked fine before, can’t work with any of the databases, and I get the same “Connection refused – connect(2)” error no matter which I try. I’ve never seen this error before, I should note. Also, I don’t know that it would matter, but I’m running Rails 3.0.1 on Ruby 1.9.2.

Does anyone know what went wrong? Something went sideways, but I’m at a loss, losing hair and sleep…

  • 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-05-19T03:15:18+00:00Added an answer on May 19, 2026 at 3:15 am

    The same thing just happened to me. Im sure you’ve already solved this by now, but this worked for me; try this in your terminal:

    rake sunspot:solr:start

    rake sunspot:solr:stop

    rake sunspot:solr:start

    Starting sunspot then killing the process didn’t fix the problem. When I stopped it through a rake task then restarted it, it did.

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

Sidebar

Related Questions

On Mac OS X 10.5 I downloaded the latest version of Apache 2.2.9. After
The title pretty much explains it all. I'm creating a mac app and I
let's say I am writing a Ruby on Rails program and while editing a
On Mac OSX running the latest JDK, my IntelliJ 9.0.3 pops up these incredibly
I am using a Mac with Eclipse Galileo, trying to load Android code from
Why does Mac OS X come with ruby and ruby on rails pre-installed? Does
Mac OS X 10.5 compatibility required. Xcode 3.2.5. My app looks in the bundle's
Mac OS X ships with apache pre-installed, but the files are in non-standard locations.
On Mac OS X, you can create a zip archive from the Finder by
On Mac OS X I can’t enter a pound sterling sign (£) into the

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.