why is my connection refused when trying to add block lists

It means your container is failing to connect to the Internet.

You never posted you compose file, but try adding the dns: option, like suggested on this comment: