command:
sudo lsof -i -P -n | grep LISTEN
Then the ps command to find the process to port 6060:
ps -aux |grep "69842"