Nothing can connect to Kafka

I have now tried recreating everything after removing all the containers and volumes and then doing docker system prune -a to get rid of absolutely everything that could be interfering.

This could be a issue specific to my system, but i’ve tried to go every step i can to make sure this is a clean install.

Docker version: 19.03.12, build 48a66213fe
Operating System: Ubuntu 20.04 LTS
Kernel: Linux 5.4.0-31-generic
Architecture: x86-64