1. Are you using a firewall? (If so check settings)
2. Do other chat programmes manage to connect without problems?
3. Have you filled out all settings in "Connect" dialogue?
4. Are you attempting the connection to a server that you know to be currently online?