What specific error message do you receive when attempting to access your server via SSH or WHM? Is it a connection refused message, a time out, or an authentication failure? You may need console access to the server to address the issue if you can't connect through WHM or SSH.
Not wishing to appear rude or condescening, but i note that you are new to the forum.
Are you also new to WHM ?
I experienced something very similar when i first started, all of which was related to security and hacking attempts of my server.