Why is the SSH server not working on Android 4, are the ports being blocked?
As far as I know, the default ssh port IS 22 on Ubuntu, just as "Lie Ryan" pointed out.  You might want to check your sshd_config files on your PC, if you want to take a look at this article, it specifies on how to change the default ssh configuration on Ubuntu--as well as the official documentation.  Beyond that, check your current firewall settings, you might be able to open that specific port temporarily to ssh-type service if you want to confirm that it's not something else.

Aside from that, it seems to me that this question was asked more than 6 months ago; if the OP hasn't figured it out by now, I doubt he'll be interested to pursue it further.  I suggest either accept an answer, provide update on the situation since, or perhaps close the question.

EDIT: depending on your android ssh-server app, and whether or not you're running it with su privileges, this is from the "QuickSSHD" website:


  non-root users are limited to ports &lt; 1024 and the QuickSSHd application user, which CAN read and write to the SD Card.