Skip to content

RedisProtocolPlugin is hard-coded to "localhost" for listening #198

Description

@scwagner

ArcadeDB Version: v21.11.1-SNAPSHOT (build ef7ba86/1636054159638/main)

JDK Version: openjdk version "11.0.13" 2021-10-19

OS: Alpine Linux v3.14

Expected behavior

com.arcadedb.redis.RedisProtocolPlugin should listen on 0.0.0.0 to allow connections from external hosts.

Ideally, it would support configuration similar to com.arcadedb.server.http.HttpServer:

host = configuration.getValueAsString(GlobalConfiguration.SERVER_HTTP_INCOMING_HOST);

Actual behavior

The plugin is hardcoded to use localhost, confirmed by the logs during startup:

2021-11-05 02:25:40.462 INFO [RedisNetworkListener] <ArcadeDB_0> Listening for replication connections on 127.0.0.1:6379 (protocol v.-1)

Steps to reproduce

Run the standard Docker image with configuration to launch with the Redis listener enabled:

docker run --rm -p 2480:2480 -p 2424:2424 --env arcadedb.server.rootPassword=playwithdata --env arcadedb.server.plugins="Redis:com.arcadedb.redis.RedisProtocolPlugin" arcadedata/arcadedb:latest

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions