Reputation: 1163
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?
Upvotes: 1
Views: 791
Reputation: 1163
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
Upvotes: 1
Reputation: 44054
Depending on your security level perforce may not read environmental settings. Try specifying the P4PORT explicitly in the command
p4 -p host:port <command>
Upvotes: 0