Windows DNS Guide

1. Go to your windows settings
2. Click on Network & Internet
3. Click on Wifi
4. Click on Hardware properties
5. Click Edit on the DNS server assignment
6. Change Automatic to Manual
7. Enable IPv4
8. Enter "8.8.8.8" in the Preferred DNS
9. Enter "8.8.4.4" in the Alternate DNS
10. Save
11. Try to refresh. If it doesn't work, then try restarting Minecraft.