Wrong dbport used instead of the configuration one

Check where the MariaDB is running:
netstat -tulpen

Also you can use another configuration look this post.
Do you use/need IPv6? If not deactivate it.