NO ROUTE TO HOST network request from container to host-ip:port published from other container

Can you please explain why we should whitelist 172.18.0.0/16?
In my case I’ve whitelisted 172.17.0.0/16(docker0 interface) and 172.18.0.0/16(docker_gwbridge interface). Only after whitelisting both It’s working fine.

The same didn’t work when I whitelisted 172.17.0.0 and 172.18.0.0.