run rails server different port code example Example: start rails server on different port rails s -p 5000 #or you can set your own port (> 1024)