6.3.3 Specifying an ANY binding address
When ANY is set for the JP1_BIND_ADDR parameter in the common definition information, you can specify which version of the IP address to bind to the server. By doing so, you can force a host using the ANY binding method to use only IPv4 addresses or only IPv6 addresses for reception.
You can specify an ANY binding address for JP1/Base on the following operating systems:
-
Windows Server 2016
-
Windows Server 2019
-
Windows Server 2022
-
Linux
- Organization of this subsection
(1) Procedure for specifying an ANY binding address
To apply an ANY binding address to the common definition information, execute the jbssetcnf command as follows:
jbssetcnf ANY-binding-address-settings-file
For details on the jbssetcnf command, see jbssetcnf in 15. Commands.
(2) ANY binding address settings files
An ANY binding address settings file specifies which IP address version to bind to the server.
- File location:
-
In Windows Server 2016, Windows Server 2019, or Windows Server 2022: installation-folder\conf\
In Linux: /etc/opt/jp1base/conf/
Table 6‒2: ANY binding address settings files ANY binding address settings file
Purpose
anybind_ipv4.conf
Use this file to bind only IPv4 addresses to the server.
anybind_ipv6.conf
Use this file to bind only IPv6 addresses to the server.
anybind_all.conf
Use this file to bind IPv4 and IPv6 addresses to the server.