WebJan 7, 2024 · 修改 host 文件可以用来实现内网传输。 下面是修改 host 文件的步骤: 1. 打开操作系统的 host 文件。通常在 Windows 系统中,可以在文件路径 C:\Windows\System32\drivers\etc 中找到 host 文件。 2. 使用文本编辑器(如 Notepad)打开 host 文件。 3. 在 host 文件的最后添加一行 ... WebDec 10, 2024 · In the Notepad file, click on the File > Open. The new navigate window will open, you need to navigate to the location where the host’s file is available. Windows 10 hosts file location is C:\Windows\System32\drivers\etc\hosts file To view files under this folder, you need to switch from Text Documents (*.txt) to All Files.
How to Edit the HOSTS File in Windows - Lifewire
WebNov 3, 2024 · View the hosts file. To view the hosts file: Open the Start menu. In the Run box, type Notepad.exe and press Enter. Note: If you will be editing the hosts file in the next activity, you must right-click on Notepad and Run as administrator rather than press Enter. In Notepad, select File then Open. Navigate to C:\Windows\System32\drivers\etc. WebClick on Start and type notepad > right-click on notepad and click on "Run as administrator." Once in Notepad, Click on File -> Open . Goto C:\Windows\System32\Drivers\etc and make sure to select All Files to find the host's file. how to restore old seat belts
How to Edit Your Hosts File on Windows, Mac, or Linux
WebJun 19, 2024 · Click on File > Open . Navigate to C:\Windows\System32\Drivers\etc. Once there, change file type from Text Documents (*.txt) to All Files (*.*). Now you can see the hosts file. Open it. Go to the last line of the page and add your own line. Let’s say we’re blocking Facebook. Enter the localhost IP of 127.0.0.1. WebDec 2, 2024 · Modify Hosts File in Windows # On Windows, the full path to the file is c:\Windows\System32\Drivers\etc\hosts. The instructions below are valid for Windows 10 and Windows 8. Press the Windows key and type Notepad in the search field. Right-click on the Notepad icon and select Run as administrator. In Notepad, click File then Open. WebDec 25, 2024 · In Notepad, click the File menu - Open, or press the Ctrl + O keys. Navigate to the folder C:\Windows\System32\drivers\etc. Select "All Files" from the drop-down menu. Double-click the hosts file. Add the comment symbol # at the beginning of the line that contains the blocked web site you want to unblock. northeastern flexible academic model