В папке laravel-echo-server необходимо создать файл laravel-echo-server.json со следующим содержимым:
{ "authHost": "http://localhost:8000", "authEndpoint": "/broadcasting/auth", "clients": [ { "appId": "APP_ID", "key": "c84077a4dabd8ab2a60e51b051c9d0ea" } ], "database": "redis", "databaseConfig": { "redis": { "port": "6379", "host": "localhost" }, "sqlite": { "databasePath": "/database/laravel-echo-server.sqlite" }, "publishPresence": true }, "devMode": true, "host": "127.0.0.1", "port": "6001", "protocol": "http", "socketio": {}, "secureOptions": 67108864, "sslCertPath": "", "sslKeyPath": "", "sslCertChainPath": "", "sslPassphrase": "", "subscribers": { "http": true, "redis": true }, "apiOriginAllow": { "allowCors": true, "allowOrigin": "*", "allowMethods": "GET, POST", "allowHeaders": "Origin, Content-Type, X-Auth-Token, X-Requested-With, Accept, Authorization, X-CSRF-TOKEN, X-Socket-Id" } }