Check occupied ports