Did a fresh install on a recently reformatted pc, now game unable to connect to Battle.net

D2 LOD was working fine a week ago on my pc. Now I reformatted my pc and reinstalled the games and after patching successfully, it gets stuck on checking version and then goes to Battle.net is not responding. I tried the other realms too and same message. What can I do?