restart plesk
/etc/init.d/psa stopall
/etc/init.d/psa start

restart network services:
sudo /etc/init.d/networking restart

restart apache:
sudo /etc/init.d/apache2 restart

port scan:
nc -z -v -w2 127.0.0.1 1-3000