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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:05:38+00:00 2026-06-17T14:05:38+00:00

Our application runs two Rails servers at different ports that talk to each other.

  • 0

Our application runs two Rails servers at different ports that talk to each other. Using Rails 3.2.8, I could open a terminal, cd to the project, run rails s -p3000, open another terminal, run rails s -p3001 and everything worked fine. The gemfile contains thin, so thin would be launched automatically, but using the rails s would allow using the --debugger when needed.

Since updating the Rails 3.2.11 this no longer works. I get an error: “A server is already running. Check /home/george/Projects/dashboard/tmp/pids/server.pid”. I can launch thin directly on both ports, but then have no debugging support. Launching thin on one and rails on the other seemed to not work, but it was not clear that all the server tasks were getting killed when the error stopped the server.

  • 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-17T14:05:39+00:00Added an answer on June 17, 2026 at 2:05 pm

    Both commands are checking the default PID file location (tmp/pids/server.pid), so you’re seeing this error. Try running multiple servers like so:

    Server 1: bundle exec rails s

    Server 2: bundle exec rails s -p 3001 -P tmp/pids/server2.pid

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

Sidebar

Related Questions

Our company develops a web application that other companies can license. Typically, our application
We recently upgraded our rails app from version 3.0.3 to 3.1.0. The application runs
We have a large process in our application that runs once a month. This
Our application runs within a frameset that uses one visible frame to show content
With some slower machines that our application runs on (which is in the windows
I have an existing SQL Server 2005 database that runs our accounting/inventory application. We
In one of our application (that runs as windows service written in .Net), there
Our application runs off MySQL, but a client has another application that requires SQL.
Our application is a Java-GWT application that uses Guice-Persist and Guice-Servlet extensively. We have
Our application downloads data from the internet using RSS but is having connection problems

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.