[id='network-interfaces_{context}']
= Network Interfaces

{brandname} Server multiplexes endpoints to a single TCP/IP port and automatically detects protocols of inbound client requests.
You can configure how {brandname} Server binds to network interfaces to listen for client requests.

.Internet Protocol (IP) address
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::config_examples/server_network_default.xml[]
----

.Loopback address
[source,xml,options="nowrap",subs=attributes+,role="secondary"]
----
include::config_examples/server_network_loopback.xml[]
----

.Non-loopback address
[source,xml,options="nowrap",subs=attributes+,role="secondary"]
----
include::config_examples/server_network_nonloopback.xml[]
----

.Any address
[source,xml,options="nowrap",subs=attributes+,role="secondary"]
----
include::config_examples/server_network_anyaddress.xml[]
----

.Link local
[source,xml,options="nowrap",subs=attributes+,role="secondary"]
----
include::config_examples/server_network_linklocal.xml[]
----

.Site local
[source,xml,options="nowrap",subs=attributes+,role="secondary"]
----
include::config_examples/server_network_sitelocal.xml[]
----

[discrete]
== Match and fallback strategies

{brandname} Server can enumerate all network interfaces on the host system and bind to an interface, host, or IP address that matches a value, which can include regular expressions for additional flexibility.

.Match host
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::config_examples/server_network_matchhost.xml[]
----

.Match interface
[source,xml,options="nowrap",subs=attributes+,role="secondary"]
----
include::config_examples/server_network_matchinterface.xml[]
----

.Match address
[source,xml,options="nowrap",subs=attributes+,role="secondary"]
----
include::config_examples/server_network_matchaddress.xml[]
----

.Fallback
[source,xml,options="nowrap",subs=attributes+,role="secondary"]
----
include::config_examples/server_network_fallback.xml[]
----
