One would assume, since you changed mIRC's firewall settings, that you're running some kind of firewall which you think could be interfering with mIRC. If so, help us help you and give more details.
You should also try another server/network. For example, try /server irc.efnet.pl 6667