Generaly this happens when mirc is randomly picking a port from a range and sometimes that range is in the allowed blocks inside the firewall rules. double check what mirc is using and what the firewall rules are set for