Is it possible to use another port for redis?

I saw that the port that erpnext uses is the 11311. Is it possible to change it?

And for the workers, is it possible to change it?

Yeah should be, hunt for the settings though. Or maybe @pdvyas can help!

Yes, the configuration option is cache_redis_server (for common_site_config.json) and value has to be like redis://localhost:11311

For celery workers, the option is celery_broker and value expected is like, ``

Where is it placed the file common_site_config.json?

you can create this file and put the above config options as json

I’m doing the follow:

/frappe-bench/config/common_site_config.json

Adding:

{
cache_redis_server: “redis://localhost:22922”
}

But Im not able to achieve it.

sorry, I didn’t mention, create this file in the sites directory

1 Like