简体   繁体   中英

laravel-echo-server using live redis server

I have installed laravel-echo-server, and also i installed redis local, the laravel-echo-server when the redis server is local all good, i update the laravel-echo-server.json, .env and the config.database to use the live redis server. but when i run the "laravel-echo-server start" it look to redis locally like: 在此处输入图像描述

any idea how to make it use the live redis server?

i found the probelm, since i want to use live server, i should update the laravel-echo-server.json to update redis database, something like:

"database": "redis",

"databaseConfig": {

    "redis": {

        "host": "IP",

        "port": 6379,

        "password":"MY-PASSWORD"

    },

    

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM