开发者

p4 cmd line client on OSX always throughs error when I try to get it to do something... p4v works fine

link-mbp:~ benb$ p4 Perforce client error: Connect to server failed; check $P4PORT. TCP connect to 1666 failed. connect: 1666: Connection refused li开发者_JAVA百科nk-mbp:~ benb$

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

thoughts?


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


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

p4 -p host:port <command>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜