Apache 如何在ubuntu中合并localhost和127.0.0.1
我在ubuntu上看不到我的项目http://127.0.0.1,但我可以通过Apache 如何在ubuntu中合并localhost和127.0.0.1,apache,ubuntu,merge,localhost,Apache,Ubuntu,Merge,Localhost,我在ubuntu上看不到我的项目http://127.0.0.1,但我可以通过http://localhost。 如何在ubuntu中合并localhost和127.0.0.1 我在hosts中设置了127.0.0.1 localhost,但仍然不起作用您的hostfile(/etc/hosts)的第一行应该有这样一个条目: 127.0.0.1本地主机 我会确保这些条目存在 我们在(/etc/hosts)中有127.0.0.1localhost
http://localhost
。
如何在ubuntu中合并localhost和127.0.0.1
我在hosts中设置了127.0.0.1 localhost
,但仍然不起作用您的hostfile(/etc/hosts)的第一行应该有这样一个条目:
127.0.0.1本地主机
我会确保这些条目存在 我们在(/etc/hosts)中有
127.0.0.1localhost