How can I clear the process running on my target port?

Solution
sudo lsof -iTCP -sTCP:LISTEN -P -n