it happend to me too few times, i dont remeber precisely what i did to fix it but ill list some of the possible ideas below:
*Re-install IV:MP
*Install patch 1.0.7
*Try with compatibility settings
*check that the Firewall does not block your game to connect