Find firebird.conf, uncomment and change the following parameters to disable WireCrypt and set higher priority for legacy authentication:

 

Source: https://stackoverflow.com/questions/30390465/connection-rejected-by-remote-interface-connecting-to-firebird-3-with-pdo