当我尝试让它做某事时,OSX 上的 p4 cmd 行客户端总是出现错误... p4v 工作正常

发布于 2024-08-27 04:19:45 字数 194 浏览 3 评论 0原文

link-mbp:~ benb$ p4 Perforce 客户端 错误:连接服务器失败; 检查$P4PORT。 TCP连接到1666 失败的。连接:1666:连接 拒绝链接-mbp:~ benb$

尽管当我检查 p4 设置时它显示了这些环境变量的所有正确数据。

想法?

link-mbp:~ benb$ p4 Perforce client
error: Connect to server failed;
check $P4PORT. TCP connect to 1666
failed. connect: 1666: Connection
refused link-mbp:~ benb$

though when I check p4 set it shows all the right data for those environment variables.

thoughts?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

情归归情 2024-09-03 04:19:45

我发现设置 P4PORT=myserver:port 解决了问题......
我以为 P4HOST 会解决这个问题,但是......我想我错了

I found that setting my P4PORT=myserver:port solved the problem...
I thought P4HOST was going to take care of that but ... I guess I was wrong

倾`听者〃 2024-09-03 04:19:45

根据您的安全级别,可能无法读取环境设置。尝试在命令中显式指定 P4PORT

p4 -p host:port <command>

Depending on your security level perforce may not read environmental settings. Try specifying the P4PORT explicitly in the command

p4 -p host:port <command>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文