Is there an example web server configuration to allow the WebSocket function to work? Currently, it defaults to server IP 127.0.0.1 (localhost) instead of the domain of the site.  Console logs: 
Is there an example web server configuration to allow the WebSocket function to work?
Currently, it defaults to server IP 127.0.0.1 (localhost) instead of the domain of the site.

Console logs:
