What is the side effect when leaving the IP address of site binding unassigned?

6,136

What this does it create a binding on the address 0.0.0.0 (and ipv6's equivilent, ::); it will accept connections on that port via any address that the system has, including the localhost address at 127.0.0.1, as well as any and all configured IP addresses.

The reason that this is configurable is if you are looking to have a different web site accepting connections on several different configured IP addresses on the same server. (however, this approach is not necessary for hosting multiple sites; utilizing host headers with 1 IP address and leaving the IP set to "All Unassigned" is generally preferable)

Share:
6,136
LaTeX
Author by

LaTeX

Updated on September 17, 2022

Comments

  • LaTeX
    LaTeX over 1 year

    enter image description here

    What is the side effect when leaving the IP address of site binding unassigned?

  • LaTeX
    LaTeX about 13 years
    How to make a single server have many ip addresses?
  • BornToCode
    BornToCode almost 8 years
    Why is using one IP address with host headers preferable?