I'm trying to set up group replication using 3 x MySQL 8.0.16 databases, but when I start up the second Node it fails. The error log reports:

[GCS] Connection attempt from IP address ::ffff: refused. Address is not in the IP whitelist.

But if I add a whitelist:


I get:

[GCS] Invalid IP or subnet mask in the whitelist: "::ffff:";

Is this an issue with the server at my end, or an issue with Group Replication not understanding the IP Address?

My configuration is:

server_id=<different for each one>
group_replication_local_address= "" /*This is different for each one*/
group_replication_group_seeds= ",,"

If I look on the first nodes error log I can see:

Connection attempt from IP address ::ffff: refused. Address is not in the IP whitelist.'

But again, adding it to a whitelist throws the above error about there being an invalid IP Address,

  • How did you add the instance to the cluster? Here is a similar question that helped me with this problem: stackoverflow.com/q/55189823/11417822
    – sergej
    Commented Mar 1, 2021 at 1:54
  • Did you ever find a solution this??? Am also stuck here. Commented Jul 12, 2021 at 18:08

2 Answers 2


That output is done in the most generic possible way, using IPv4-mapped IPv6 address.

It should work if you simply add:

  • Alas, it makes no difference I'm afraid.
    – IGGt
    Commented Jul 26, 2019 at 10:38

I know this is an old thread, but had the same issue with 8.0.28 on Ubuntu. Found that dual stack implementation was causing ipv6 to grab 33061. IPv4 was getting all other ports. Not the best solution, but disabling IPv6 will solve this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.