A server is already running. Check …/tmp/pids/server.pid. Exiting - rails
ruby-on-rails
Solution
You can delete the `server.pid` file.
rm /your_project_path/tmp/pids/server.pid
Else:
try in OSX:
sudo lsof -iTCP -sTCP:LISTEN -P | grep :3000
or in linux:
ps -aef | grep rails
or
lsof -wni tcp:3000
kill the process using
kill -9 PID (eg,2786)
Problem
``` ..$ rails s => Booting WEBrick => Rails 4.0.4 application starting in development on http://0.0.0.0:3000 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server A server is already running. Check /home/..name/rprojects/railsapp/tmp/pids/server.pid. Exiting ``` what is the easiest way to solve this for a rails beginner?