title: Linux: How to kill programs that use port 1935?
body: <p>I have a <a href="http://en.wikipedia.org/wiki/Red5_%28media_server%29" rel="noreferrer">red5 server</a> (JAVA) running on my Linux server.</p>
  
  <p>Sometimes, the server shuts down. When I try to restart it I got an error:</p>
  
  <p><strong>"Binding error, this port is alerady in use".</strong></p>
  
  <p>So I try to kill the server with <strong>killall -9 java</strong>
  and try to restart the server: same error.</p>
  
  <p>I have to wait for a while (about 2-3 minutes) and restart it again: that works.</p>
  
  <p><strong>I just need to know why when I kill the process I still have to wait 2-3 minutes before port 1935 is free and I can run the server again.</strong></p>
  
  <p>Is there a way to kill this process immediately and free the port ?</p>