A server is already running. rails 6 code example Example: rails server already running sudo kill -9 $(lsof -i :3000 -t)