Working on my centos server. Connecting via putty. Changed SSH default port and disabled root login. But the client didn't save the new port and defaulted back to 22 (my new one was 42650 or something like that). So now I can't login/connect to it.
First, *Bad Admin! BAD! -- You made a change without documenting it.
Now, to get out of this mess you find yourself in you have three options:
Because you are on Windows, you'll need to download the nmap utility: http://nmap.org/download.html
In the COMMAND field, type in: nmap -T4 Aggressive -A -v -f -p 1-65535
This can be a very long scan, upwards of 30 minutes to complete, but it will give you the most detailed output for any unresponsive SSH ports that might be available.
If you see a port that appears to be SSH, you can try using Putty to connect to it. I would select a verbose output option to get more information from it.