요약
이 문서에서는 호스트 파일을 기본값으로 다시 설정하는 데 도움이 되는 정보를 제공합니다.
호스트 파일이란 무엇입니까?
호스트 파일은 운영 체제에서 IP 네트워크에서 호스트를 식별하고 찾는 숫자 인터넷 프로토콜(IP) 주소에 인간 친화적인 호스트 이름을 매핑하는 데 사용됩니다. 호스트 파일은 컴퓨터 네트워크의 네트워크 노드를 처리하는 여러 시스템 리소스 중 하나이며 운영 체제의 IP 구현의 일반적인 부분입니다. Hosts 파일에는 첫 번째 텍스트 필드의 IP 주소로 구성된 텍스트 줄과 하나 이상의 호스트 이름이 있습니다. 각 필드는 공백으로 구분됩니다(탭은 종종 역사적 이유로 선호되지만 공백도 사용됨). 주석 줄이 포함될 수 있으며 이러한 줄의 첫 번째 위치에 해시 문자(#)로 표시됩니다. 파일의 전체 빈 줄은 무시됩니다.
호스트 파일이 기본값에서 변경된 경우 재설정하면 일부 연결 문제를 해결하는 데 도움이 될 수 있습니다.
해결 방법
호스트 파일을 기본값으로 다시 설정하려면 운영 체제에 따라 다음 단계를 따르세요.
호스트 파일을 기본값으로 다시 설정하려면 다음 단계를 수행하십시오.
-
메모장을 엽니다. 이렇게 하려면 Cortana를사용하여 "메모장"을 검색한 다음 메모장 아이콘을 탭하거나 클릭합니다.
-
다음 텍스트를 복사해서 파일에 붙여 넣습니다. # 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 handle within DNS itself. # 127.0.0.1 localhost # ::1 localhost
-
파일 메뉴에서 파일 이름 상자에 "호스트"를 입력한 다음(다음 이미지에 표시된 대로) 으로 저장을선택한 다음 파일을 바탕 화면에 저장합니다.
-
메모장을 닫습니다.
-
Cortana를사용하여 %WinDir%\System32\드라이버\Etc를 검색한 다음 파일 폴더 아이콘을 선택합니다.
-
호스트 파일을 길게 누르거나 마우스 오른쪽 단추로 클릭하고 이름 바꾸기를선택한 다음 파일의 이름을 "Hosts.old"로 바꿉니다.
-
3단계에서 만든 호스트 파일을 바탕 화면에서 %WinDir%\System32\Driver\Etc 폴더로 복사하거나 이동합니다. 관리자 암호를 입력하라는 메시지가 표시되면 계속을선택합니다.
호스트 파일을 기본값으로 다시 설정하려면 다음 단계를 수행하십시오.
-
메모장을 엽니다. 이렇게 하려면 화면 오른쪽 가장자리에서 안쪽으로 살짝 민 다음 검색을 탭하고 메모장을 입력한 다음 메모장 아이콘을 탭합니다. 또는 마우스를 사용하는 경우 화면 오른쪽 위 모서리를 가리키고 마우스 포인터를 아래로 이동한 다음 검색을 클릭하고 메모장을 입력한 후에 메모장을 클릭합니다.
-
다음 텍스트를 복사해서 파일에 붙여 넣습니다. # 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 handle within DNS itself. # 127.0.0.1 localhost # ::1 localhost
-
파일 메뉴에서 파일 이름 상자에 "호스트"를 입력한 다음(다음 이미지에 표시된 대로) 으로 저장을선택한 다음 파일을 바탕 화면에 저장합니다.
-
메모장을 닫습니다.
-
%WinDir%\System32\Drivers\Etc 폴더를 엽니다. 이렇게 하려면 다음 단계를 수행합니다.
-
화면의 오른쪽 가장자리에서 스 와이프하고 검색, 입력 실행을누른 다음 실행 아이콘을 누릅니다. 또는 마우스를 사용하는 경우 화면의 오른쪽 위 모서리를 가리키고 마우스 포인터를 아래로 이동한 다음 검색, 입력 실행을선택한 다음 실행 아이콘을 선택합니다.
-
열기 상자에 %WinDir%\System32\드라이버\Etc를 입력한 다음 확인을선택합니다.
-
-
호스트 파일을 선택하고 이름을 변경한다음 파일의 이름을 "Hosts.old"로 바꿉니다.
-
3단계에서 만든 호스트 파일을 %WinDir%\System32\Drivers\Etc 폴더로 복사하거나 이동합니다. 관리자 암호를 입력하라는 메시지가 나타나면 계속을 탭하거나 클릭합니다.
호스트 파일을 기본값으로 다시 재설정하려면 다음 단계를 따르세요.
-
시작, 실행을 차례로 클릭하고 Notepad를 입력한 다음 확인을 클릭합니다.
-
다음 텍스트를 파일에 복사합니다. 윈도우 7용 # 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 handle within DNS itself. # 127.0.0.1 localhost # ::1 localhost Windows Vista 또는 Windows Server 2008 # 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 127.0.0.1 localhost ::1 localhost Windows XP 또는 Windows Server 2003 # Copyright (c) 1993-1999 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 127.0.0.1 localhost
-
파일 메뉴에서 파일 이름 상자에서 "호스트"를입력한다음 파일을 바탕 화면에 저장합니다.
-
시작 >실행,유형 %WinDir%\System32\드라이버\Etc를선택한 다음 확인을선택합니다.
-
호스트 파일을 선택하고 "Hosts.old"로 이름을 바꿉니다.
-
3단계에서 만든 호스트 파일을 복사하거나 이동하여 %WinDir%\System32\Driver\Etc 폴더로 이동합니다. 관리자 암호를 입력하라는 메시지가 표시되면 계속을선택합니다.
추가 정보
Windows XP에 대한 지원이 종료되었습니다.
마이크로소프트는 4 월에 윈도우 XP에 대 한 지원을 종료 8, 2014. 이러한 변경 사항은 소프트웨어 업데이트 및 보안 옵션에 영향을 미쳤습니다. 이것이 여러분에게 어떤 의미인지, 그리고 어떻게 보호받는지 알아보십시오.
Windows 서버 2003에 대한 지원은 2015년 7월 14일에 종료되었습니다.
마이크로소프트는 윈도우 서버 2003 7 월에 대 한 지원을 종료 14, 2015. 이러한 변경 사항은 소프트웨어 업데이트 및 보안 옵션에 영향을 미쳤습니다. 이것이 여러분에게 어떤 의미인지, 그리고 어떻게 보호받는지 알아보십시오.