【问题标题】:how to change the default server value in p4 info [duplicate]如何更改 p4 信息中的默认服务器值 [重复]
【发布时间】:2016-04-07 06:38:02
【问题描述】:

我遇到了错误。

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

如果我使用 -p 将服务器详细信息作为参数传递,我将得到正确的 o/p,例如

p4 -p servername:port info.

请分享如何更改默认服务器详细信息。

【问题讨论】:

    标签: perforce perforce-client-spec


    【解决方案1】:

    应该这样做:

    p4 set P4PORT=servername:port
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-10-26
      • 2017-04-24
      • 2012-01-06
      • 2015-06-19
      • 2021-04-17
      相关资源
      最近更新 更多