文档

​
​

Development

User Acquisition

Monetization

工业

Unity Version Control

DevOps

On-prem

Gluon

Editor plug-in

Open Unity Dashboard

Unity Version Control

此页面不支持所选语言。
​
​
Unity Version Control
  • Overview
  • Cloud Repositories organization update
  • Installation
  • Use UVCS with the Unity Editor
  • Unity Version Control plugins
  • Concepts
  • Tutorials
  • On-Prem
    • Server configuration
    • Client configuration
    • Manage On-Prem licenses
    • Stop, start, or restart server
    • Server administration console
    • Configure UVCS
      • Server configuration files
      • Configure lock rules
      • Merge rules
      • Configure file compression
      • Proxy servers
      • Use a proxy server
      • Support alternative connections to a server
      • Configure repository storage
    • Use server read-only mode
    • Back up and restore data
    • Archive revisions
    • Force client upgrades
    • SSL certificates
    • GitServer
    • Use SAML authentication with Microsoft Entra
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Support alternative connections to a server

Set up alias files for alternative connections to your server.
阅读时间1 分钟
最后更新于 10 个月前

Use Unity Version Control (UVCS) to connect to the same server with different IP addresses and protocols. For example, if you connect to
localserver.office-network.com:8084
at your office, but want to go home and connect through the public SSL-protected IP
ssl://plastic.external-network.com:8090
, you can tell the client that
server:8084
and
ssl://externalserver:8085
are aliases of each other.

Configure the server aliases file

Use the
serveralias.conf
file to enable this feature on your UVCS client so that the client knows which connection to use and can switch from one server URL to the other transparently.
Create the
serveralias.conf
file under one of the following directories:
  • On Linux or macOS:
    $HOME/.plastic4
  • On Windows:
    C:\Users\user\AppData\Local\plastic4
  • In the
    plastic-global-config
    repository to give all clients the same settings by default.
  • Under the
    client
    folder in the UVCS installation directory.
The
serveralias.conf
file contains a pair of connections that are aliases of each other:
alias1 alias2

Example server alias file

To resolve the example in the first paragraph, you can use the following
serveralias.conf
file:
localserver.office-network.com:8084 ssl://plastic.external-network.com:8090
注意
The file can jump to a different URL and a different protocol (in this case from regular TCP to SSL).

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Configure the server aliases file

    • Example server alias file


报告此页面的问题