Support alternative connections to a server
Set up alias files for alternative connections to your server.
読み終わるまでの所要時間 1 分最終更新 9ヶ月前
Use Unity Version Control (UVCS) to connect to the same server with different IP addresses and protocols. For example, if you connect to at your office, but want to go home and connect through the public SSL-protected IP , you can tell the client that and are aliases of each other.
localserver.office-network.com:8084ssl://plastic.external-network.com:8090server:8084ssl://externalserver:8085Configure the server aliases file
Use the 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.
serveralias.confCreate the file under one of the following directories:
serveralias.conf- On Linux or macOS:
$HOME/.plastic4 - On Windows:
C:\Users\user\AppData\Local\plastic4 - In the repository to give all clients the same settings by default.
plastic-global-config - Under the folder in the UVCS installation directory.
client
The file contains a pair of connections that are aliases of each other:
serveralias.confalias1 alias2
Example server alias file
To resolve the example in the first paragraph, you can use the following file:
serveralias.conflocalserver.office-network.com:8084 ssl://plastic.external-network.com:8090