A server is already running. Check …/tmp/pids/server.pid. Exiting – ruby on rails

A server is already running. Check …/tmp/pids/server.pid. Exiting – rails

error showing
  1. checked No other instance of Rails cmd is running this time.
  2. Checked Task manager but only cmd.exe is showing no else process is running. (using Windows).
  • Delete the Pids folder which is located under app/tmp/
  • and then, close the terminal which we are running the current app and close the tab (in, browser window)
  • after that, again open the terminal by going inside the folder, and then do, rails s
  • Then, it opens the fresh tab which is running our application

run the command on terminal

ruby bin\rails server

Leave a Reply

Your email address will not be published. Required fields are marked *