SCSPORT

Client/server port

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS

The SCSPORT environment variable specifies the port used by xfServer.

Value

The port number on which xfServer is running. Valid ports are 1024 through 65535.

Discussion

The default xfServer port is 2330. On Windows and UNIX, set SCSPORT on both the client and the server when you want to use a port other than 2330. On an OpenVMS xfServer, SCSPORT is used only by synxfpng.

Setting location

On the client, in the environment. On Windows, this environment variable can also be set in the [synergy], [dbl], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).

On the server, SCSPORT is not set in the environment. Instead, set the port number on Windows using the Synergy Configuration Program or on UNIX by starting rsynd with the ‑p option.

Used by

Runtime, xfServer, synxfpng.

See also

Examples

On a UNIX client,

SCSPORT=2331    ;export SCSPORT