Unable to connect to us.battle.net or warcraft

Logged in today, and got randomly disconnected. Now my battle.net is saying I’m offline and I cannot reconnect, and when I try to go to us.battle.net, the pages always failed to load. even if I login manually, I get the error code BLZ51901016. I have already tried the blizzard way, and it didn’t anything to fix the problem. This has happened once before and the only way I got it fixed was doing a full reset on my computer.