Plesk requires /255.255.255.252 instead of /30 as a mask for Allow remote connections from

cloud retool

When connecting to a database managed by Plesk, proper masks for setup: "Allow remote connections from" are:

3.77.79.248/255.255.255.252
35.90.103.132/255.255.255.252
44.208.168.68/255.255.255.252

not ending /30 - Plesk (at leas mine) won't work with that.

As for the BUG tag: When I was using /30 masks in Plesk, connection error said:

Access denied for user 'used_username'@'ec2-3-77-79-248.eu-central-1.compute.amazonaws.com'

Which is confusing and suggest retool is trying to connect to a wrong hostname.

@piotrmajewski,
I just want to clarify. Did this work for you?

3.77.79.248/255.255.255.252
35.90.103.132/255.255.255.252
44.208.168.68/255.255.255.252

Yes. I know it's the same as /30, just adding note that some systems prefer /255.255.255.252 can save some headaches.

As for " Access denied for user 'used_username'@'[ec2-3-77-79-248.eu-central-1.compute.amazonaws.com" I understand that systems return errors that way by default, but stripping @your-domain would make it less confusing.

Got it. What you are saying is that Retool, in our docs, uses /30 for CIDR IP addresses in the form of, say:

3.77.79.248/30

But Plesk requires this format instead:

3.77.79.248/255.255.255.252

Thank you so much, @piotrmajewski , for your helpful advice.