We’re rewarding the question askers & reputations are being recalculated! Read more.
3 Fix typose.
source | link

I guess localhost refer to one ipIP address which is by default 127.0.0.1, but, localnet refer to every network that you have an ipIP address from it on interface on your machine.

For example, if you have two interfaces and every one have its ipIP from deferentdifferent network so localnets can match all of the networks.

eth0 ip 10.0.0.1    netmask 255.0.0.0
eth1 ip 192.168.0.1 netmask 255.255.255.0

soSo localnets match (10.0.0.0\8, 192.168.0.0\24).

I guess localhost refer to one ip address which is by default 127.0.0.1, but, localnet refer to every network that you have an ip address from it on interface on your machine.

For example if you have two interfaces and every one have its ip from deferent network so localnets can match all of the networks

eth0 ip 10.0.0.1 netmask 255.0.0.0
eth1 ip 192.168.0.1 netmask 255.255.255.0

so localnets match (10.0.0.0\8, 192.168.0.0\24)

I guess localhost refer to one IP address which is by default 127.0.0.1, but, localnet refer to every network that you have an IP address from it on interface on your machine.

For example, if you have two interfaces and every one have its IP from different network so localnets can match all networks.

eth0 ip 10.0.0.1    netmask 255.0.0.0
eth1 ip 192.168.0.1 netmask 255.255.255.0

So localnets match (10.0.0.0\8, 192.168.0.0\24).

2 added 132 characters in body
source | link

I guess localhost refer to one ip address which is by default 127.0.0.1, but, localnet refer to every network that you have an ip address from it on interface on your machine.

For example if you have fourtwo interfaces and every one have its ip from deferent network so localnets can match all of the networks

eth0 ip 10.0.0.1 netmask 255.0.0.0
eth1 ip 192.168.0.1 netmask 255.255.255.0

so localnets match (10.0.0.0\8, 192.168.0.0\24)

I guess localhost refer to one ip address which is by default 127.0.0.1, but, localnet refer to every network that you have an ip address from it on interface on your machine.

For example if you have four interfaces and every one have its ip from deferent network so localnets can match all of the networks

I guess localhost refer to one ip address which is by default 127.0.0.1, but, localnet refer to every network that you have an ip address from it on interface on your machine.

For example if you have two interfaces and every one have its ip from deferent network so localnets can match all of the networks

eth0 ip 10.0.0.1 netmask 255.0.0.0
eth1 ip 192.168.0.1 netmask 255.255.255.0

so localnets match (10.0.0.0\8, 192.168.0.0\24)

1
source | link

I guess localhost refer to one ip address which is by default 127.0.0.1, but, localnet refer to every network that you have an ip address from it on interface on your machine.

For example if you have four interfaces and every one have its ip from deferent network so localnets can match all of the networks