You might be using a proxy that isn't working. Try "mIRC Options>Connect>Firewall>Firewall support:>None".