It should be port 5190, but you can change that so you use 443, 80, 23 or anyone of those. You can, at least in Windows have AIM to autodetect which port is open. You do that by getting into preferences and got to connection and click on autoconfigure.
Hope this helps
Terry