使用laravel websocket库进行实时通知的laravel站点工作:
https://beyondco.de/docs/laravel-websockets/getting-started/introduction
在本地服务器上,我必须运行以下命令才能工作:
php artisan websockets:serve
Starting the WebSocket server on port 6001...
现在我已经把网站上传到了云道托管。
如何实现命令以始终运行服务器?
php artisan websockets:serve
发布于 2022-08-11 18:50:57
如果您正在使用VPS,我认为您应该安装一个主管来帮助运行您的WebSocket。这里是我找到点击的例子
https://stackoverflow.com/questions/73318776
复制相似问题