Communicating port information
Helix Server
applications need to know on what machine the p4d
service is listening, on which TCP/IP port p4d
is
listening, and whether to communicate in plaintext or over SSL.
Set each
Helix Server
user’s P4PORT environment variable to
protocol:host
, where
protocol is the communications protocol (beginning with :
portssl:
for SSL, or tcp:
for plaintext), host
is
the name of the machine on which p4d
is running, and
port
is the number of the port on which
p4d
is listening. For example:
P4PORT | Behavior |
---|---|
|
Helix Server
applications connect in plaintext to the
Helix Server on host |
|
Helix Server
applications connect in plaintext to the
Helix Server on host |
|
Helix Server
applications connect via SSL to the
Helix Server on host |
|
Helix Server
applications connect to the Helix Server on a host named or aliased |
If you have enabled SSL, users are shown the server’s fingerprint the
first time they attempt to connect to the service. If the fingerprint is
accurate, users can use the p4 trust
command (either
p4 trust -y
, or p4 -p
ssl:host:port trust -i fingerprint
)
to install the fingerprint into a file (pointed to by the P4TRUST environment variable) that holds a list of
known and trusted
Helix Servers and their respective fingerprints. If P4TRUST
is unset, this file is .p4trust
in the user’s home
directory.