Well, I am shaky on the details, but I assume the firewall blocks the communication between the IRC server and your computer. Beyond that, someone else would have to chime in who knows more than me.
You may be able to use an IRC client (as opposed to the Java chat through the web browser)...