Cannot connect to Minecraft servers after a router update
Solution 1:
It sounds like your router is blocking the ports required to connect to a multiplayer server. It's impossible to provide more assistance without knowing the exact model of router you have, but essentially you will need to go to the router admin page and find the settings that are causing the problem.