Defining a new Helix Server connection

To define a new connection to a Helix Server in Visual Studio:

  1. Open the Open Connection dialog. You can open this dialog the following ways:

  2. Enter the service name and port number for this connection using service_host:port_number.

    If your Perforce service is enabled for SSL (Secure Sockets Layer) encryption, use the following syntax: ssl:service_host:port_number

    Important

    If you attempt to connect to an SSL-enabled Perforce service and you see a warning about an untrusted SSL connection or altered SSL fingerprint, contact your Helix Server administrator before completing the connection.

  3. In the User field, enter your user name.

  4. (Optional) In the Workspace field, specify the name of your client workspace.

    For more information on setting up client workspaces, see Managing workspace specifications.

  5. Click OK.

    P4VS connects to the specified Helix Server.

    Note

    If the server you are connecting to is configured with multi-factor authentication (MFA), you are prompted for another layer of verification. Depending on the setup, you may need to select a method of verification before you can enter your credentials.

    For more information, see p4 login2 in the P4 Command Reference.