#!/bin/bash

# Get the process ID of the process that is listening on port 1111
pid=$(lsof -ti :1111)

# Kill the process
if [ -n "$pid" ]; then
  kill $pid
  echo "Process $pid has been killed."
else
  echo "No process found listening on port 1111."
fi
