ปัญหาการเชื่อมต่อ - การรีเซ็ตไฟล์โฮสต์ Windows

หากคุณไม่สามารถเชื่อมต่อ League ได้ คุณอาจต้องรีเซ็ตไฟล์โฮสต์ของคุณ วิธีการมีดังนี้:

  1. กดปุ่ม Windows + R
  2. พิมพ์ %WinDir%\System32\Drivers\Etc แล้วกด Enter
  3. คุณจะต้องคัดลอกไฟล์ "hosts" ในหน้าต่างที่เปิดอยู่ คลิกขวาที่ "hosts" แล้วคลิก "Copy"
  4. คลิกขวาที่ช่องว่างในโฟลเดอร์ "Etc" แล้วคลิก "วาง" (คุณอาจต้องใช้สิทธิ์การเข้าถึงแบบผู้ดูแลระบบเพื่อทำขั้นตอนนี้)
  5. คลิกขวาที่ "hosts - Copy" แล้วกด "Rename"
  6. ตั้งชื่อใหม่เป็น "hosts.old"
  7. คลิกปุ่ม Start (start.png หรือ start_2.png) แล้วค้นหา "Notepad"
  8. คลิกขวาที่ Notepad (หรือโปรแกรมแก้ไขข้อความที่คุณชอบใช้) แล้วคลิก "Run as administrator"
  9. ใช้ Notepad (หรือเครื่องมือแก้ไขข้อความของคุณ) เปิดไฟล์ "hosts" ใน %WinDir%\System32\Drivers\Etc (ตรวจดูให้แน่ใจว่าคุณดูทุกไฟล์ ไม่ใช่เพียงไฟล์ *.txt)
  10. ลบทุกอย่างในไฟล์และแทนที่ด้วย:
    # 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
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host
    # localhost name resolution is handled within DNS itself.
    # 127.0.0.1 localhost
    # ::1 localhost
  11. บันทึกไฟล์

หากการดำเนินการนี้ทำให้สถานการณ์แย่ลง ให้แทนที่ไฟล์ด้วยสำเนาที่คุณเพิ่งบันทึกแล้วเข้าดูบทความ คำแนะนำการแก้ไขปัญหาการเชื่อมต่อขั้นพื้นฐาน ของเราสำหรับความช่วยเหลือเพิ่มเติมในการเชื่อมต่อกับ League

บทความนี้มีประโยชน์หรือไม่