localhost:"ping localhost&q

2017-04-07  本文已影响52人  NJ_墨

try this on the terminal:
➜ sudo nano /private/etc/hosts

Copy to inside:

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost

保存:【control + o】,【enter】,【control + x】
测试:ping localhost

上一篇 下一篇

猜你喜欢

热点阅读