When the Connector starts up, it binds to all local IP addresses on the
selected port using the wilcard syntax, for example: 0.0.0.0:3306
.
You can force the Connector to bind to a specific IP address by setting the
tpm option
property=server.listen.address={IP_ADDRESS}
If you wished to bind to the localhost IP address only, perhaps for security reasons, here is an example:
Click the link below to switch examples between Staging and INI methods...
shell> vi /etc/tungsten/tungsten.ini
[alpha]
...
property=server.listen.address=127.0.0.1
Run the tpm command to update the software with the INI-based configuration:
shell> tpm query staging
tungsten@db1:/opt/continuent/software/tungsten-clustering-7.0.3-141
shell> echo The staging DIRECTORY is `tpm query staging| cut -d: -f2`
The staging DIRECTORY is /opt/continuent/software/tungsten-clustering-7.0.3-141
shell> cd {STAGING_DIRECTORY}
shell> ./tools/tpm update
For information about making updates when using an INI file, please see Section 10.4.4, “Configuration Changes with an INI file”.
Updating these values require a connector restart (via tpm update) for the changes to be recognized.