You may need to kill the ruby process.
Type the following in your terminal:
lsof -i :3000
This should return a PID number for the ruby process.
example.png
13.4 KB
You can then type in your terminal:
kill PID_NUMBER
In this example the PID_NUMBER is 33446. This should kill the ruby process. Now try running your rails server again!