Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to change the default server value in p4 info [duplicate]

I am getting below error.

C:\Users\sanisett>p4 info

Perforce client error:
    Connect to server failed; check $P4PORT.
    TCP connect to perforce:1666 failed.
    connect: 192.168.104.92:1666: WSAETIMEDOUT

If I am passing the server details as a parameter using -p I am getting proper o/p like

p4 -p servername:port info.

Kindly share how to change the default server details.

like image 235
sampath Avatar asked Oct 19 '25 08:10

sampath


1 Answers

This should do it:

p4 set P4PORT=servername:port
like image 92
Samwise Avatar answered Oct 22 '25 05:10

Samwise



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!