diff --git a/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs b/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs index 093e0f53c..d54162840 100644 --- a/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs +++ b/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs @@ -51,7 +51,7 @@ public class SimpleWebTransport : Transport, PortTransport [Header("Server settings")] [Tooltip("Port to use for server")] - public ushort port = 7778; + public ushort port = 27777; public ushort Port { get @@ -90,7 +90,7 @@ public ushort Port [Tooltip("Sets connect scheme to wss. Useful when client needs to connect using wss when TLS is outside of transport.\nNOTE: if sslEnabled is true clientUseWss is also true")] public bool clientUseWss; - public ClientWebsocketSettings clientWebsocketSettings; + public ClientWebsocketSettings clientWebsocketSettings = new ClientWebsocketSettings { ClientPortOption = WebsocketPortOption.DefaultSameAsServer, CustomClientPort = 7777 }; [Header("Logging")]