Jump to content

Having trouble setting up Perforce on LAN

LAV Server Perforce

  • Please log in to reply
1 reply to this topic

#1 personal_mike



  • Members
  • Pip
  • 1 posts

Posted 01 September 2014 - 05:15 PM

Hello everyone,

I'm trying to set up Perforce on a local hosting computer on the same network. I installed the perforce server on that PC with its IPv4 address & port 1666. When I try to run "p4d &" in the command prompt or "p4 admin start" it tells me to check the $P4PORT variable and that listening on TCP has failed. I have read into how to setup perforce and watched tutorials nothing has helped. Would greatly appreciate if someone could answer to this issue or direct me in the right direction on hosting the perforce server on the LAN.

Side note: I would like to open a connection for the depot on different computers to access the server on the host PC which is connected to our LAN.



#2 P4Shimada


    Advanced Member

  • Members
  • PipPipPip
  • 831 posts

Posted 03 September 2014 - 04:34 PM

Hi Michael,

You are using Windows or Unix? It sounds like your configuration is not complete. To start a Perforce server, you need P4ROOT (where your Perforce metadata files reside) and P4PORT defined. For example a simple startup command would be:

    p4d -r /p4/root -p 1666 &

In terms of the network LAN, as long as internally on your network your other computers have access to the port that Perforce uses, you should be good to go. (You can test that by seeing if you can ping the port the Perforce server listens on from one of the other computers on the network.) We do have certain Knowledge Bases articles for reference such as:


If you are using Windows, you can use these references as a checklist to see what you may be missing:



If you are using Unix for your Perforce server, you can use this as a reference:


Also tagged with one or more of these keywords: LAV, Server, Perforce

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users