Server-side functionsServerGetServerPortOn this pageGetServerPortReturns the server port set in conf.json ("port"). C# int NAPI.Server.GetServerPort(); Example int port = NAPI.Server.GetServerPort();