Hi,
I am going to be pedantic over this.
There is no iChat 8.
iChat stopped in Lion at iChat 6 and a bit
In Mountain Lion the app became Messages with all of the main iChat function plus the iMessages account.
I take it from your post though that you are talking about using an Account type that was present in iChat before the Upgrade.
Direct Connection tells me that it is an AIM Account.
In early version of iChat the app used to login to the AIM Servers on port 5190 using the TCP protocol.
Direct IMs bypased the server and connected direct to your Buddy on port 5190 but using the UDP protocol (there is not longer an option to invoke this in Messages)
Group Chats do the Same and so do File Transfers that also includes Pics-in-Chats. (these do this automatically and an ordinary Chat is converted to Direct IM when sending files)
Regular Posters here though would recommend logging in on port 443.
Now in Messages (and the later iChat versions) the app Logs in on port 443
This is a port that is always open on a router similar to the ones used by Web Browsers (80) and the Mail App (110, 567, 569, 993 and others including 443)
Ports above a threshold of 1024 have to opened or allowed in your router.
How this is done is dependent on the abilities of the router and how many computers you might have.
UPnP is a method that can open the ports in a way that means several computers and other devices can use the same ports.
If not used the ports close after a period of none use.
9:04 pm Thursday; March 12, 2015
iMac 2.5Ghz i5 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad