Advertisement
Guest User

Untitled

a guest
Apr 21st, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. If not use this command to kill the port on which the your app is running,
  2.  
  3. fuser -n tcp -k (port number)
  4.  
  5. ps aux | grep rails
  6.  
  7. kill -9 pid
  8.  
  9. => Booting WEBrick
  10. => Rails 4.0.0 application starting in development on http://0.0.0.0:3000
  11. => Run `rails server -h` for more startup options
  12. => Ctrl-C to shutdown server
  13. [2014-04-08 21:14:42] INFO WEBrick 1.3.1
  14. [2014-04-08 21:14:42] INFO ruby 2.0.0 (2013-11-22) [x86_64-linux]
  15. [2014-04-08 21:14:42] INFO WEBrick::HTTPServer#start: pid=2677 port=3000
  16.  
  17. kill 8976
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement