title: Kill all processes at port on AWS Linux
body: <p>I am trying to kill processes on port 6006. However, I seem to be unable to use many of the recommended methods to do so. For example:</p>
  
  <p><code>sh-4.2$  kill -9 $(sudo lsof -t -i:6006)</code></p>
  
  <p>Does not work, throwing the error:</p>
  
  <p><code>kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]</code></p>
  
  <p>If it helps, this is the system I am using:</p>
  
  <pre><code>sh-4.2$  cat /etc/os-release
  NAME="Amazon Linux AMI"
  VERSION="2018.03"
  ID="amzn"
  ID_LIKE="rhel fedora"
  VERSION_ID="2018.03"
  PRETTY_NAME="Amazon Linux AMI 2018.03"
  ANSI_COLOR="0;33"
  CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
  HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
  </code></pre>