port address already in use server nodejs code example Example: port already in use node js sudo kill -9 $(sudo lsof -t -i:3000)