On premise hosted on parallels with WebGL client
Options
v1r7u3
✭
Hi there,
I'm working locally on a macbook with on premise server running on windows in parallels. This setup has been working fine with TCP connections.
I've been trying to get websocket connections working for WebGL POC and believe I've setup everything correctly (although I'm trying to use insecure websockets for now).
I've added listeners to my servers:
WebSocketListener
IPAddress="10.211.55.3"
Port="9093"
DisableNagle="true"
InactivityTimeout="10000"
OverrideApplication="ChatServer"
Secure = "false">
WebSocketListener>
And I'm connecting roughly like so:
const string ChatServerAddress = "ws://10.211.55.3:9093";
const string ChatServerName = "ChatServer";
_chatPeer = new PhotonPeer(this, ConnectionProtocol.WebSocket);
_chatPeer.Connect(ChatServerAddress, ChatServerName);
But I don't get any connection or error in either editor or WebGL builds
Again TCP is working fine with the above ip etc, I've turned of firewalls.
I'm wondering do you think I would need to deploy the server and setup meet some network configuration requirements settings to get this working?
All the best,
Josh
I'm working locally on a macbook with on premise server running on windows in parallels. This setup has been working fine with TCP connections.
I've been trying to get websocket connections working for WebGL POC and believe I've setup everything correctly (although I'm trying to use insecure websockets for now).
I've added listeners to my servers:
WebSocketListener
IPAddress="10.211.55.3"
Port="9093"
DisableNagle="true"
InactivityTimeout="10000"
OverrideApplication="ChatServer"
Secure = "false">
WebSocketListener>
And I'm connecting roughly like so:
const string ChatServerAddress = "ws://10.211.55.3:9093";
const string ChatServerName = "ChatServer";
_chatPeer = new PhotonPeer(this, ConnectionProtocol.WebSocket);
_chatPeer.Connect(ChatServerAddress, ChatServerName);
But I don't get any connection or error in either editor or WebGL builds
Again TCP is working fine with the above ip etc, I've turned of firewalls.
I'm wondering do you think I would need to deploy the server and setup meet some network configuration requirements settings to get this working?
All the best,
Josh
0
Comments
-
WebSocketListener
IPAddress="10.211.55.3"
Port="9093"
DisableNagle="true"
InactivityTimeout="10000"
OverrideApplication="ChatServer"
Secure = "false">
WebSocketListener>0 -
Fail.. :P please delete these two0
This discussion has been closed.