If you are running Kali on a VM you may need to allow it access in its VM settings, otherwise the local IPs will not communicate and it'll fail to connect.