1. Make sure that your firewall is not blocking port 6667.
2. If you are trying it from your school/workplace there's a likely chance that the headmaster/employer has had IRC blocked.