So that requests to localhost
are treated as if coming from remote host in LAN?
Asked
Active
Viewed 4,937 times
-1

Piotr Dobrogost
- 41,292
- 40
- 236
- 366

asker
- 2,159
- 3
- 22
- 27
1 Answers
0
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)

Jack Leow
- 21,945
- 4
- 50
- 55
-
Not what I want, it want it to be the same even if you visit `127.0.0.1`. – asker Sep 02 '11 at 04:21