henryliangt / usydweb

USYD Web Design
0 stars 0 forks source link

hosts修改 #7

Open henryliangt opened 1 year ago

henryliangt commented 1 year ago

找到 C:\Windows\System32\drivers\etc\ 找到这个文件 hosts image

把hosts复制到桌面, 改名字成 hosts.txt

记事本打开, 文件末尾, 加上2行:

47.74.88.109 sucsa.org 47.74.88.109 www.sucsa.org

image

保存文件

文件名字去.txt 改成原名。

把文件复制回去原位置。 替换掉原文件。

重新打开 sucsa.org

henryliangt commented 1 year ago

操作完了,还是不行,debug方法

打开 cmd

ping sucsa.org 复制屏幕信息粘贴到本文下。 然后我看到了再回复

ping www.sucsa.org 复制屏幕信息粘贴到本文下。 然后我看到了再回复

IsaacYKC0329 commented 1 year ago

C:\Users\cyk03>ping sucsa.org

Pinging sucsa.org [47.74.88.109] with 32 bytes of data: Reply from 47.74.88.109: bytes=32 time=4ms TTL=56 Reply from 47.74.88.109: bytes=32 time=4ms TTL=56 Reply from 47.74.88.109: bytes=32 time=4ms TTL=56 Reply from 47.74.88.109: bytes=32 time=4ms TTL=56

Ping statistics for 47.74.88.109: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 4ms, Maximum = 4ms, Average = 4ms

C:\Users\cyk03>ping www.sucsa.org

Pinging www.sucsa.org [47.74.88.109] with 32 bytes of data: Reply from 47.74.88.109: bytes=32 time=4ms TTL=56 Reply from 47.74.88.109: bytes=32 time=3ms TTL=56 Reply from 47.74.88.109: bytes=32 time=4ms TTL=56 Reply from 47.74.88.109: bytes=32 time=4ms TTL=56

Ping statistics for 47.74.88.109: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 3ms, Maximum = 4ms, Average = 3ms