Set the lhost in Metasploit
When setting an IP address to set lhost in Metasploit, use the address
Or, in the terminal, enter
ipconfig /all to find your local IP address for Windows. Look to IPv4 for the IP address.
For Mac, use
ifconfig |grep inet and look for the last