Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2026.1

# P4AUTH

A hostname and port number of an optional P4 Server that multiple P4 Servers use for authorization.

## Usage notes

Used by Client? | Used by Server? | Command-Line Alternative | Can be set in P4CONFIG file?
--- | --- | --- | ---
No | Yes | N/A | N/A

## Value if not explicitly set

Program | Value
--- | ---
Perforce Servers | `null`

## Examples

P4 Server server examples
`perforce.example.com:1818`
`192.168.0.123:1818`

## Notes

The format of `P4AUTH` is ``host`:`port``, or `port` by itself if both the P4 Server and the authorization server are running on the same host. All servers must be at the same release level.

Port numbers must be in the range `1024` through `32767`.

If you have set `P4AUTH`, no warning will be given if you delete a user who has an open file or client.

See Authorization server (P4AUTH) in the P4 Server Administration Documentation.

If all the servers run the same operating system, errors and confusion about file names can be avoided. To learn more, see Case sensitivity and multi-platform development in the P4 Server Administration Documentation. Another advantage is that all the servers have the same behavior for Processing line endings.

Your search for returned results