how to kill a server at a specific port code example
Example 1: kill a port
kill $(lsof -ti:3000)
Example 2: kill a port
kill $(lsof -t -i:8080)
//kill port 8080
kill $(lsof -ti:3000)
kill $(lsof -t -i:8080)
//kill port 8080