P4TARGET

  • For the Helix Proxy and replica servers, the name and port number of the target Helix Core Server (that is, the Helix Core Server for which P4P acts as a proxy).
  • For a replica or edge server, the upstream master or commit server from which it retrieves its data, and towards which changelists, if applicable, are forwarded.

Usage notes

Used by Client? Used by Server? Command-Line Alternative Can be set in P4CONFIG file?

No

Yes

p4p -t host:port
p4d -t host:port

N/A

Value if not explicitly set

Program Value

Helix Proxy

perforce:1666

Replicated environments

None

Examples

Helix Core Server server examples

1818

master:11111

perforce.example.com:1234

192.168.0.123:1818

Notes

The format of P4TARGET is host:port, or port by itself if both the Helix Core Server and the proxy, replica, or edge server are running on the same host.

Port numbers must be in the range 1024 through 32767.

For more about replicas, edge servers, and the Helix Proxy, see Deployment architecture in the Helix Core Server Administrator Guide.