No, I type ALL my replies, however, it would be unfair (and probably mentally unhealthy) if I were to explain that error message every single time someone asked about it. What's more, I like to refer people to Merlin's post as he took a lot of time writing it and it's an excellent resource that should be made use of.
Different servers allow different ports. You might be able to obtain information on the network's website, however, usually ports 6668, 6669, 7000, 7001, 7002 and higher work. Normally you don't need a port other than 6667.
You can also try contacting the Admin of the server. Type /motd server.* and email the administrator. If the email isn't listed, it's usually "nickname@network.domain" (i.e. for "irc.network.net" and the admin "Arnie" it would be "Arnie@network.net").
If there is SSL support the ports are different from the ones above, it should be listed in the MOTD. If not, again, contact the Server Administrator.
Hope this helps.
Regards,