A rare case on macOS – local installation of Flexi.
Server and database logs are fine.
An exception in the application log along the lines of:
UnknownHostException: 127.0.0.1 when connecting to the company; login worked.
Connection via the web interface – localhost:5434 is also fine. (It may display a warning that the connection is not private, which can be skipped.)
Possible solution:
If we enter "localhost" instead of 127.0.0.1 in the data source, Flexi automatically translates it to 127.0.0.1. In this case, that is clearly the problem (the reason is unclear and doesn't make much sense – likely some issue with the machine's configuration). This behavior cannot be disabled, but it can be worked around. Simply add a new hostname for 127.0.0.1.
As root, you need to edit /etc/hosts (e.g., sudo nano /etc/hosts). Edit the line for localhost, which typically looks like this: "127.0.0.1 localhost". Add another entry, for example: "127.0.0.1 localhost local".
Then simply update the data source settings in the client – instead of "127.0.0.1", use "local" as the address.
