views:

88

answers:

2

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?

A: 

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

p4 -p host:port <command>
stimms
+1  A: 

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

theprojectabot