解决Mac下idea运行速度慢

刚入手Mac,发现Mac下使用idea进行调试极其慢,然后发现和本地回环地址有关:

解决Mac下idea运行速度慢

只需稍微修改hosts文件即可:

sudo vim /etc/hosts,在localhost后面追加你的电脑名.local即可

##
# 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 miaoying-MacBookPro.local
255.255.255.255 broadcasthost
:: localhost
~
上一篇:解决mac下安装yeoman时没有权限问题


下一篇:解决MAC下ctags -R无效的问题