Remote Daemon
In most cases, programs connect to a local daemon, running on the same host as the program. Certain situations require a remote daemon, for example:
• | The program runs on a laptop computer that is not directly connected to the network. Instead, the laptop connects to a workstation on the network, and the daemon runs on that workstation. |
• | The program connects to a network at a remote site. |
For remote daemons, specify two parts (introducing the remote host name as the first part):
• | Remote host name |
• | Port number |
For example:
"purple_host:6555"
When a client specifies a remote daemon that is not present, the client does not auto-start a daemon in that remote location.
Note |
Direct communication is not available when connecting to a remote daemon (see Direct Communication). |
Suppress Daemon Auto-Start
The policy that a transport cannot automatically start a remote daemon also results in a convenient way to suppress the auto-start feature of a local daemon. To do so, specify the local daemon with a two-part parameter, as if it were a remote daemon. For the first part (the host) supply either the local computer’s loopback address, 127.0.0.1
, or the local host name (if the host does not support a loopback address). For example:
127.0.0.1:7500
my_host_name:7500