- Under Citrix Policy, go to Policy
- In the middle pane, under Policies, modify an existing policy or create a new policy for external connections.
- In the right pane, click Actions > Edit Policy
- Edit Unfiltered window will appear, then type websock and hit Enter.
- Select WebSock trusted origin server list
- Enter the External URL //this is to allow external URL as a trusted URL
- Click OK
NOTE:
For internal connections, the policy for the web sockets is as follows :
Web Socket Connects – Allowed
Web Socket Port number – Default 8008
Web sockets trusted origin server – default *
The policy is assigned to all objects in the site.
WebSockets trusted origin server list
This setting provides a comma-separated list of trusted origin servers, usually Receiver for Web, expressed as URLs. Only WebSockets connections originating from one of these addresses is accepted by the server.
By default, the wildcard * is used to trust all Receiver for Web URLs.