P4TARGET

Description

For the Perforce Proxy and replica servers, the name and port number of the target Perforce server (that is, the Perforce 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

Perforce Proxy

perforce:1666

Replicated environments

None

Examples

Perforce server examples

1818

master:11111

perforce.example.com:1234

192.168.0.123:1818

Notes

The format of P4TARGET on is host:port, or port by itself if both the Perforce 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 Perforce Proxy, see Helix Versioning Engine Administrator Guide: Multi-site Deployment.