If you can’t connect to League, you may need to reset your hosts file. Here’s how:
- Press Windows key + R
- Type %WinDir%\System32\Drivers\Etc and hit enter
- You’ll need to make a copy of the “hosts” file. In the opened window, right-click “hosts” and click “Copy”
- Right-click an empty spot in the “Etc” folder and click “Paste” (You may need administrative access to do this)
- Right-click “hosts - Copy” and click “Rename”
- Rename it to “Hosts.old”
- Click on the Start button ( or ) and search “Notepad”
- Right-click Notepad (or your favorite text editor) and click “Run as administrator”
- Using Notepad (or your text editor), open the “hosts” file in %WinDir%\System32\Drivers\Etc (Make sure you’re looking at all files and not just *.txt files)
- Delete everything in the file and replace it with this:
# Copyright (c) 1993-2006 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# # For example:
# 18.104.22.168 rhino.acme.com # source server
# 22.214.171.124 x.acme.com # x client host
# localhost name resolution is handle within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
- Save the file.
If this makes things worse, you can replace the file with the copy you saved, and check this article for more help connecting to League.