0👍
I had the same problem setting up websocket to the production server. Then I moved to Laravel Echo Server. You can use that pretty easily, no need to change much in your code. just remember to provide authHost, sslCertPath, sslKeyPath
to the server’s configuration file. And I ran the service with pm2. I had problem setting up ‘supervisor‘. (My production environment was ubuntu). If you have ubuntu too, you can first try to keep the websocket working with supervisor or pm2, if it still doesn’t work, you can switch to Laravel Echo Server like me. Choice is yours!
- [Vuejs]-BootstrapVue's b-nav with lazy loading
- [Vuejs]-How to restrict user to enter only 30 characters in Vuejs?
Source:stackexchange.com