Host parameter (IP)

Usage

TCP/IP (all platforms) Server and client sides

See also

“ClientPort parameter [CPort]”

Where

Server and client sides

Description

HOST specifies additional machines outside the immediate network to be searched by the client library. On the server, the search is carried out to avoid starting a server with a duplicate name.

For TCP/IP, the hostname or a dot-separated IP address may be used.

The server prints this addressing information during startup if the -z switch is used. In addition, the application writes this information to its logfile if LogFile is specified (Debug is set to TRUE).

You can use a semicolon-separated list of addresses to search for more than one machine. Also, you can append a port number to an IP address using a colon as separator. Alternatively, you can specify the host and server ports explicitly, as in Host=nnn.nn.nnn.nnn;ServerPort=pppp.

IP and HOST are synonyms when using TCP/IP.

When specifying an IPv6 address on a Windows platform, use the interface identifier. UNIX platforms support both interface identifiers and interface names in IPv6 addresses. The interface identifier is required on Linux (kernel 2.6.13 and later).

See "IPv6 support in SQL Anywhere" in SQL Anywhere Server – Database Administration. Note that Sybase IQ does not support the Mac OS X platform.

Values

String

Default

No additional machines.

Example