Msfconsole(metasploit) not taking incoming connections

msfconsole(metasploit) not taking any incoming connection, there is no issue in backdoor file beacuse it is working with powershell-empire with no issue, but not with msfconsole

I have heard some problems with newer versions of metasploit. Please try old version before msf5

How to install older versions…

Pick any old releases from their GitHub repo - and see the installation method on their repo homepage

After reinstalling windows(main OS), downloading every file again (kali, target system)
and giving chmod +x backdoor file name

msfconsole work also with v6
SO thanku for your help sir