Warcraft III (Classic or Reforged) connection failures usually stem from network, Battle.net, or configuration issues. Follow this checklist in order.
battle.net, blizzard.com, google.com.Cache folder: ~/Library/Application Support/Blizzard/Warcraft III (Mac) or %APPDATA%\Blizzard\Warcraft III (Win).Warcraft III.exe, Battle.net.exe, Agent.exe through firewall (Inbound/Outbound).Forward these on your router to your PC's static LAN IP:
Enable UPnP on router first—most setups work without manual ports.
us.actual.battle.net.Most fixes are #1–#4. Port forwarding (#5) is rarely needed on modern routers with UPnP.