Windows XP SP2? The firewall is on. Tell it to exempt mIRC.

Are you running a router? Then you'll have to forward port 113 to the computer mIRC is running on. See http://portforward.com for information.