Find that process thats using the port you want: lsof -i :4000 If you don't care and just want to kill it: sudo fuser -k 80/tcp