|
@@ -209,17 +209,20 @@ namespace PRSServer
|
|
|
// }
|
|
|
// // This should be out of the if-statement, since the listener needs to be initialised, even if the web socket port is 0.
|
|
|
|
|
|
- Logger.Send(LogType.Information, "", string.Format("Starting Rest Listener: Port={0}", 0));
|
|
|
+ Logger.Send(LogType.Information, "", string.Format("Starting Rest Listener: Port={0}", Properties.Port));
|
|
|
|
|
|
RestListener.Init(0); //this used to be Properties.WebSocketPort, however we are temporarily using this port to configure the RPCSocket connection
|
|
|
InitialisePort();
|
|
|
RestListener.Start();
|
|
|
|
|
|
- Logger.Send(LogType.Information, "", string.Format("Rest Listener Started: Port={0}", 0));
|
|
|
+ Logger.Send(LogType.Information, "", string.Format("Rest Listener Started: Port={0}", Properties.Port));
|
|
|
|
|
|
//TODO remove this (only being used for temporary site app to connect to)
|
|
|
- if (Properties.WebSocketPort == 0)
|
|
|
+ if (Properties.Port == 8000)
|
|
|
Properties.WebSocketPort = 8050;
|
|
|
+ else
|
|
|
+ Properties.WebSocketPort = 0;
|
|
|
+ //had to do this because configuring the WebSocketPort on the server grid was ignored and causing issues on the production server - to remove when a fix is found
|
|
|
|
|
|
if (Properties.WebSocketPort != 0)
|
|
|
{
|