0

I was following this website in order to establish a netcat connection. I have a mac and a kali virtual machine. If from my mac I type nc -lv 1234 and from kali I type nc ip.of.my.mac 1234 then the netcat connection is established. However, if I do the reverse, i.e. on my kali I type nc -lv 1234 and on my mac I type ip.of.my.kali 1234 then I get nc: connectx to ip.of.my.kali port 1234 (tcp) failed: Connection refused. Could you help me to debug the issue?

2
  • Disable the firewalls and try again.
    – harrymc
    Dec 17, 2022 at 15:15
  • @harrymc, it seems mac's firewall is disabled by default
    – edamondo
    Dec 17, 2022 at 18:59

0

You must log in to answer this question.

Browse other questions tagged .