I have a local setup using PHP for the backend, running on Docker and connecting to a MySQL database in another docker container.
I have added a database connection which I know has the correct credentials since it returns the DB tables without a problem.
I have added a server action to select from one of my tables. When I execute the query it returns all the records, also without a problem.
I have added a Server Connect which attempts to utilise the above server action but when I attach a table or repeater to this I get “SQLSTATE[HY000] [2002] Connection refused”.
Any clues?