手机上的 hosts

原来手机上也是可以使用 hosts 文件的。

Symbian 系统下此文件的位置:
EKA1:C:\system\data\host
EKA2:C:\private\10000882\hosts(只能使用兼容 AllFiles 的文件浏览器访问,可参看 http://wiki.forum.nokia.com/index.php/Hosts_file_on_S60_3.x_Devices

Windows Mobile 下比较特殊,没有文件,但是有功能对等的注册表项,位置为:
HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts

需要创建以目标域名为名字的子键,并指定 ipaddr 值。可参看 http://windowsmobilepro.blogspot.com/2006/04/etchosts-file-equivalent-in-windows.html

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注