MasterServer.port Manual     Reference     Scripting  
Scripting > Runtime Classes > MasterServer
MasterServer.port

static var port : int

Description

The connection port of the master server.

By default this is a server run by Unity Technologies.

function ResetIP() {
MasterServer.ipAddress = "127.0.0.1";
MasterServer.port = 10002;
}