authserver.mojang.com error (all mojang servers working)

So, I always login and it says in parenthesis, (Error 505: authserver.mojang.com) I need help fixing this error. I've tried reinstalling it and keeping all of the servers, AND this launcher says it doesn't need java. I tried restarting the computer too. Tell me steps to fix this error pls ;-;
Best Answer
This is likely a networking issue with your home network. Verify that your name servers are correct, and that your IP matches the subnet of the gateway for your router.
If your IP address of your computer is 192.168.1.100, for example, your gateway is likely 192.168.1.1. Sometimes this can happen if your DNS hosts aren't correct as well. I had this happen when I changed the subnet of my home router from a 10.0.0 subnet to 192.168.1. Once I fixed the addresses, it worked fine.
Pictures about "authserver.mojang.com error (all mojang servers working)"



Como resolver An error occurred while attmpting to reach authserver.mojang.com 2019
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Andrea Piacquadio, George Becker, Ron Lach, Polina Zimmerman