Why can’t Minecraft connect to server?
Possible solutions are: Check that your network connection is enabled, and that no programs are blocking outgoing connections. Try disabling any existing firewall program, or changing its configuration options. Restart your modem/router.