I start daemon of elixir.
elixir --detached -S mix run
But I cannot find way to kill this.
(My Server is CentOS.)
Find the process ID using ps -eaf|grep elixir
and kill the process using kill <process_id>
As @Werner typed in comment for me it worked:
sudo fuser -k 4001/tcp
Change 4001
to your port