What ports does Talk use

Just have a look at this Howto: