Unable to connect to any machines

add a space -p$ports -p $ports