Listenaddr Option

IPv4 address on which the selected server/agent will listen for connections. The allowed values for this option include an IPv4 address in dotted decimal form (e.g., ), or a short form or fully-qualified DNS host name which will be resolved to an IPv4 address by obtaining the DNS A record for the name. To explicitly specify the default value of binding to all available interfaces, the string " " may be used. To bind to the loopback device,, the string " " may be specified.

For components allowing specification of a list of addresses rather than merely one address on which to listen, see instead the   option.

listenaddr Dispatcher (service) option
 The  Dispatcher   option  (formerly INTERFACE_ADDRESS in legacy configuration) can be used to specify the  IPv4 address interface to which the Dispatcher service should bind. By default, the Dispatcher binds to all IP addresses. But for systems having multiple network interfaces each with its own IP address, it may be useful to bind different services to the different interfaces. may be set either directly under  as , in which case it sets the global default for all services, or may be set under a specific  ,    , in which case it is setting the interface address to which that  particular service should bind.

Note that if  is specified for a service, then that is the only interface IP address to which that Dispatcher service will bind. Only one such explicit interface IP address may be specified for a particular service (though other similar Dispatcher services may be defined for other interface IP addresses). Note that the interfaceaddress channel option provides the complementary capability for specifying which interface address a TCP/IP channel uses for outgoing connections and messages.

The allowed values for this option include an IPv4 address in dotted decimal form (e.g., 127.0.0.1), or a short form or fully-qualified DNS host name which will be resolved to an IPv4 address by obtaining the DNS A record for the name. To explicitly specify the default value of binding to all available interfaces, the string " " may be used. To bind to the loopback device, 127.0.0.1, the string " " may be specified.

The default value in this context is: INADDR_ANY

See also:
 * interfaceaddress Option
 * Service group
 * Dispatcher options

listenaddr Dispatcher (global) option
 The    Dispatcher option  (formerly INTERFACE_ADDRESS in legacy configuration) can be used to specify the  IPv4 address interface to which the Dispatcher service should bind. By default, the Dispatcher binds to all IP addresses. But for systems having multiple network interfaces each with its own IP address, it may be useful to bind different services to the different interfaces. may be set either directly under  as , in which case it sets the global default for all services, or may be set under a specific  ,    , in which case it is setting the interface address to which that  particular service should bind.

Note that if  is specified for a service, then that is the only interface IP address to which that Dispatcher service will bind. Only one such explicit interface IP address may be specified for a particular service (though other similar Dispatcher services may be defined for other interface IP addresses). Note that the interfaceaddress channel option provides the complementary capability for specifying which interface address a TCP/IP channel  uses for outgoing connections and messages.

The allowed values for this option include an IPv4 address in dotted decimal form (e.g., 127.0.0.1), or a short form or fully-qualified DNS host name which will be resolved to an IPv4 address by obtaining the DNS A record for the name. To explicitly specify the default value of binding to all available interfaces, the string " " may be used. To bind to the loopback device, 127.0.0.1, the string " " may be specified.

The default value in this context is: INADDR_ANY

See also:
 * interfaceaddress Option
 * Dispatcher options

listenaddr Job Controller option
 The  Job Controller option  (formerly INTERFACE_ADDRESS in legacy configuration) can be used to specify the IPv4 address interface to which the Job Controller should bind for listening for its own communications; (see the    Job Controller option in Unified Configuration, which replaced the legacy configuration TCP_PORT Job Controller option). By default, the Job Controller binds to the    (legacy configuration TCP_PORT) on all IP addresses. But for systems having multiple network interfaces each with its own IP address, it may be useful to listen only on a particular interface. Note that if   is specified, then that is the only interface IP address to which the Job Controller will bind for its internal use.

Note that the   channel option provides a capability for specifying which interface address a  TCP/IP channel uses for outgoing connections and messages; this is quite separate from the Job Controller&#x27;s internal use of interface address(es). Also note that the Dispatcher has its own setting for ,  controlling which IP address a particular Dispatcher service listens on.

The default value in this context is: INADDR_ANY

See also:
 * tcp_ports Option
 * interfaceaddress Option
 * Dispatcher
 * Job Controller options

Use with base
 The  base option specifies the IPv4 address to listen on when accepting connections, or to bind to when making connections. The allowed values for the  option include an IPv4 address in dotted decimal form (e.g., 127.0.0.1), or a short form or fully-qualified DNS host name which will be resolved to an IPv4 address by obtaining the DNS A record for the name. To explicitly specify the default value of binding to all available interfaces, the string " " may be used. To bind to the loopback device, 127.0.0.1, the string " " may be specified.

If  is not explicitly set, then the default for accepting connections is the string " ", while the default for making connections is the loopback address.

Note that one of the (several) implications of  is that it sets the host IP for most servers in the product, including the ENS server. Versions prior to 7 Update 4 instead used a legacy syntax in the  option for the ENS server host IP address.

The default value in this context is: INADDR_ANY

See also:
 * Base options

Use with metermaid
 The  metermaid option specifies the  IPv4 address on which MeterMaid should listen. If unset specifically for MeterMaid, MeterMaid defaults to the base value of    (  in legacy configuration).

The allowed values for this option include an IPv4 address in dotted decimal form (e.g., 127.0.0.1), or a short form or fully-qualified DNS host name which will be resolved to an IPv4 address by obtaining the DNS A record for the name. To explicitly specify the default value of binding to all available interfaces, the string " " may be used. To bind to the loopback device, 127.0.0.1, the string " " may be specified.

The default value in this context is: INADDR_ANY

See also:
 * MeterMaid
 * metermaid options

Use with snmp
 The  SNMP option specifies the IPv4 address to listen on when running as a SNMP master agent -- that is, when the   SNMP option has been set to. The allowed values for   include an IPv4 address in dotted decimal form (e.g.,  ),  or a short form or fully-qualified DNS host name which will be resolved to an IPv4 address by obtaining the DNS A record for the name. To explicitly specify the default value of binding to all available interfaces, the string " " may be used; (this is the default). To bind to the loopback device, ,  the string " " may be specified.

This option applies only to the Net-SNMP based SNMP subagent, but not to the legacy SNMP subagent for Solaris 9 and earlier.

The default value in this context is: INADDR_ANY

See also:
 * SNMP options
 * standalone Option
 * port Option

See also:
 * listen_addresses Option
 * Base options
 * metermaid options
 * Dispatcher options
 * Job Controller options
 * Service group
 * SNMP options