-This error may sometimes happen if you have an internet security program that's holding your last connection in place. Do you have anything like that in place?
- Its possible that your security program is blocking W3 from connecting on the internet . You have to go to : Internet Shield/Application Control/W3 ->change from Deny to Allow.
Return it back to normal then.Try changing the port in warcraft 3,it's at options->gameplay->game port to something else,to 6114 for example