If you have then your IP address amy have been added to the deny list. Check the following file on your ubuntu web server for your IP address, and remove it if you find it: /etc/hosts.deny
Obviously it goes without saying that you’ll probably need to connect to your server from an IP address other than your own to look in the file!