How to deploy nodes on different servers - using docker - I get Invalid IPV6 address

HI,
I’m trying to set up a cluster of two nodes on two different servers.
the default definition of multicast doesn’t seem to work - as I try to run one node ‘odb1’ on first server and ‘odb2’ on another server , and I don’t see in the logs that the cluster is contained of two nodes - I mean, on each server there’s a different cluster of one node.
I also tried to manually set the IPs - so on each server, the hazelcast network section looks like this :

 <network>
        <port auto-increment="true">2434</port>
        <join>
                <multicast enabled="false">
                        <multicast-group>235.1.1.1</multicast-group>
                        <multicast-port>2434</multicast-port>
                </multicast>
                <tcp-ip enabled="true">
                <member>localhost:2434</member>
                <member>10.55.137.87:2434</member>
                </tcp-ip>
        </join>
    </network>

on each server, I put the IP of the other server as the second member.

and I run it using “docker-compose up odb1” on server1 and "docker-compose on server2.
but I get the same result - two different clusters of one node are running on each server.

I see this message in the log:

nnectionManager]
odb1_1  | 2020-07-06 14:49:01:178 INFO  [172.22.0.2]:2434 [orientdb] [3.10.6] Connection[id=14, /172.22.0.2:2434->/10.55.137.87:48692, endpoint=null, alive=false, type=MEMBER] closed. Reason: Wrong bind request from [172.18.0.2]:2434! This node is not the requested endpoint: [10.55.136.177]:2434 [TcpIpConnection]

what am I doing wrong here?

I’d like to mention also - I’m using docker , so each member is running on a separate container.
I changed the hazelcast.xml and the docker-compose.yml as follows:

<hazelcast
        xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.3.xsd"
        xmlns="http://www.hazelcast.com/schema/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <group>
                <name>orientdb</name>
                <password>orientdb</password>
        </group>
        <network>
          <public-address>${hazelcast.local.publicAddress}:${hazelcast.port}</public-address>
          <port auto-increment="false" port-count="100">${hazelcast.port}</port>
                <join>
                        <multicast enabled="false">
                                <multicast-group>235.1.1.1</multicast-group>
                                <multicast-port>2434</multicast-port>
                        </multicast>
                        <tcp-ip enabled="true">
                        <member>10.55.137.87</member>
                        <member>10.55.136.177</member>
                        </tcp-ip>
                </join>
        </network>
        <executor-service>
                <pool-size>16</pool-size>
        </executor-service>
</hazelcast>

and the docker-compose.yml

version: '3.3'
services:
  odb1:
    image: orientdb:3.0.30
    command: dserver.sh -Dstorage.diskcache.buffersize=4096 -**Dhazelcast.local.publicAddress=10.55.136.177 -Dhazelcast.port=5701**
    volumes:
      - ./var/odb1/config:/orientdb/config
      - ./var/odb1/databases:/orientdb/databases
      - ./var/odb1/log:/orientdb/log

    environment:
      ORIENTDB_ROOT_PASSWORD: root
      ORIENTDB_NODE_NAME: odb1
      ORIENTDB_OPTS_MEMORY: -Xms8G -Xmx8G
      DISKCACHE: 4096MB
    ports:
      - 2480:2480
      - 2424:2424
      - 5701:5701

  odb2:
    image: orientdb:3.0.30
    command: dserver.sh -Dstorage.diskcache.buffersize=4096 -Dhazelcast.local.publicAddress=10.55.137.87 -Dhazelcast.port=5701
    volumes:
      - ./var/odb2/config:/orientdb/config
      - ./var/odb2/databases:/orientdb/databases
      - ./var/odb2/log:/orientdb/log

    environment:
      ORIENTDB_ROOT_USER: root
      ORIENTDB_NODE_NAME: odb2
      ORIENTDB_OPTS_MEMORY: -Xms8G -Xmx8G
      DISKCACHE: 4096MB
      # depends_on:
      #- odb1
    ports:
     - 2424:2424
     - 5701:5701

but now I get this exception when I run the containers:

odb2_1  | Members {size:2, ver:6} [
odb2_1  |       Member [10.55.136.177]:5701 - 261310f4-780d-4b45-a688-9ef1c5a76c68
odb2_1  |       Member [10.55.137.87]:5701 - f744642d-31d3-4e64-b87e-26fe88b303b6 this
odb2_1  | ]
odb2_1  |  [ClusterService]
odb2_1  | 2020-07-07 10:21:35:308 INFO  [10.55.137.87]:5701 [orientdb] [3.10.6] [10.55.137.87]:5701 is STARTED [LifecycleService]
odb2_1  | 2020-07-07 10:21:35:308 INFO  Starting distributed server 'odb2' (hzID=f744642d-31d3-4e64-b87e-26fe88b303b6)... [OHazelcastPlugin]
odb2_1  | 2020-07-07 10:21:35:315 INFO  Distributed cluster time=Tue Jul 07 10:21:35 UTC 2020 (delta from local node=2)... [OHazelcastPlugin]
odb2_1  | 2020-07-07 10:21:35:376 INFO  [odb2] Registered local server with nodeId=1 [OHazelcastPlugin]
odb2_1  | 2020-07-07 10:21:35:397 INFO  Distributed Lock Manager server is 'odb1' [OHazelcastPlugin]
odb2_1  | 2020-07-07 10:21:35:409 INFO  [odb2] Loaded configuration for database 'OSystem' from disk: /orientdb/config/default-distributed-db-config.json [ODistributedStorage]
odb2_1  | 2020-07-07 10:21:35:426 INFO  [odb2] Servers in cluster: [odb2, odb1] [OHazelcastPlugin][odb2] Error on starting distributed plugin
odb2_1  | java.net.UnknownHostException: 10.55.136.177:5701: invalid IPv6 address
odb2_1  |       at java.net.InetAddress.getAllByName(InetAddress.java:1170)
odb2_1  |       at java.net.InetAddress.getAllByName(InetAddress.java:1127)
odb2_1  |       at com.orientechnologies.orient.client.binary.OChannelBinaryClientAbstract.<init>(OChannelBinaryClientAbstract.java:65)
odb2_1  |       at com.orientechnologies.orient.client.binary.OChannelBinarySynchClient.<init>(OChannelBinarySynchClient.java:32)
odb2_1  |       at com.orientechnologies.orient.server.distributed.ORemoteServerChannel.connect(ORemoteServerChannel.java:122)
odb2_1  |       at com.orientechnologies.orient.server.distributed.ORemoteServerChannel.<init>(ORemoteServerChannel.java:90)
odb2_1  |       at com.orientechnologies.orient.server.distributed.ORemoteServerController.<init>(ORemoteServerController.java:53)
odb2_1  |       at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.getRemoteServer(OHazelcastPlugin.java:683)
odb2_1  |       at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:287)
odb2_1  |       at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:1194)
odb2_1  |       at com.orientechnologies.orient.server.OServer.activate(OServer.java:469)
odb2_1  |       at com.orientechnologies.orient.server.OServerMain$1.run(OServerMain.java:48)