Problems with setting up transmission/sonarr (running in docker) on VM Homeassistant

Hi guys,
I have a problem to set up two integrations:
transmission and sonarr.
I’m guessing that I has something to do with my configuration.
I run my homeassistant on a VM on my qnap NAS. Everything seems to be ok it has access to WAN and LAN however when I try to integrate my docker apps (transmission, sonarr and radarr) the connection can’t be established. I get the timeout errors.
It is weird because when I try to ping these sites from the console they respond and everything seems to be ok.
Does anyone has an idea how can I solve that?