Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在装有 OSX 10.9 的 Mac 上运行网络服务器。在我们的 LAN 中,我的 IP 连接到 example.local,因此 LAN 中的每个人都应该访问我的网络服务器。
不幸的是,我的 Mac 没有正确解析 .local 域。据我所知,这可能是由于 Bonjour 服务,它声称是 .local 域。
我怎么解决这个问题?
快速修复,将 example.local 添加到 /etc/hosts 文件中的一行:
127.0.0.1 example.local