Weird. Checking your router is the first thing I'd recommend. Assure it's connected, and try unplugging it, and plugging it back in. I searched around "Minecraft Forums" for 10-15 minutes just now, looking for something, but I can't find much, so I'm unfortunately not much of a help.
Something to try, is seeing if you can connect to a different region. What I mean is if you get this error connecting to "us1.mcsg.in" for example, try "ca1.mcsg.in". If you're residing in the United States, your connection lag-wise should be fine, so trying to get in the servers is definitely worth a shot. EU connection isn't incredibly bad either, but it'll probably be hindered slightly, at least.
One final suggestion, is making sure you're joining a server in lobby, or "In-game" to spectate. This is kind of a silly solution because it more than likely isn't the issue, but hey, you never know.
Joining games that are restarting can sometimes give you the "Cannot connect to host" error, which is why that's a possible solution.
Best of luck in finding a "cure"!
