Because SQL connection allowed from 192.168.124.0/24 network, but not for FQDN addresses.