how to close ports on gitpod code example Example 1: terminate gitpod ports fuser -k 4990/tcp Example 2: terminate gitpod ports kill $(sudo lsof -t -i:4990)