For this error it is showing like the nope may not be available so, we need to start the kafka server first. command to start the server in windows: navigate to the kafka folder and open cmd prompt and enter the below command.
.\bin\windows\kafka-server-start.bat config\kraft\server.properties