When supplying an url like domain.com:2222 in the URL/Title field in KeePass it's not filled in on that page, the only way to get it to work is to specify domain.com but this way it's impossible to have different passwords for different applications running on different ports on the same domain.