address already in use :::3001 code example
Example 1: Address already in use - bind(2) for "127.0.0.1" port 3000 (Errno::EADDRINUSE)
lsof -wni tcp:3000
kill -9 PID_number
Example 2: address already in use :::3001
lsof -i tcp:3001
kill -9 {PID}