## # 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
把它改成这个样子
1 2 3 4 5 6 7 8 9
## # 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 xxxMacBook.local 255.255.255.255 broadcasthost ::1 localhost xxxMacBook.local