Can I configure the port and address to listen on? (not Redis instances, the p3x-redis-ui service)
Closed this issue · 4 comments
hanzo2001 commented
Pretty straightforward: can I configure the port and address of the redis-ui server to listen on?
If so, how? are there any environment variables I can set?
p3x-robot commented
yes, settings.
hanzo2001 commented
This did not answer my question. p3x-redis-ui is a web service that listens by default on 0.0.0.0:7843.
Can I change these defaults? How can I change these defaults?
UPDATE
I see that I can change the port by passing in my own config.json file copied from: https://github.com/patrikx3/redis-ui-server/blob/master/artifacts/boot/p3xrs.json
Can I change the address so that it only looks at loopback (127.0.0.1) for example?
p3x-robot commented
yes
hanzo2001 commented
May I know how to change the address? I have tried multiple settings but none of them work
{
"p3xrs": {
"http": {
"host": "127.0.0.1",
"ip": "127.0.0.1",
"address": "127.0.0.1",
"port": 7843
},
...
}
}