开发者

How to disable loopback interface in Linux (Fedora)?

So that requests to localhost are treated as if coming 开发者_StackOverflow社区from remote host in LAN?


Have you tried updating your /etc/hosts file, replacing:

127.0.0.1   localhost

With your actual IP address? e.g.,

192.168.0.42    localhost

(This doesn't actually disable the loopback address, you can still connect to 127.0.0.1, but connecting to localhost should come in through your network interface, which I believe is what you're asking)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜