Hi Maha:
Please confirm that the broker is indeed listening at localhost:6667 by attempting to connect to it via nc or a similar utlity.
Example: nc -v localhost 6667
If you are unable to connect, then verify that the broker is running and that it is running on the machine where you are issuing the console producer command. If it is running on a separate machine, you will need to replace the "localhost" with the hostname of that separate machine.
Thank you,
Jeff Groves