Question: When I am starting rails server using `rails s` command it is showing `A server is already running. Check C:/Sites/folder/Pids/Server.pids`

When I open the file it is outputting a 4 digit number only so how could I resolve this issue ? 

**FYI**

1. 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).

Answer: 
It happens when you kill your server process and the pid file was not updated.
The best solution is to delete the file **Server.pid**.

Use the command 

> 
> `rm <path to file Server.pid>`
> 
> 
>
Just go to the TMP folder in your application.
Go to the pids folder and delete the files present. Now rerun the server. This worked for me.