i am trying to connect two hosts using netcat. i have downloaded netcat for windows, but when i run the command nc -L -vv -p 4444
, it fails with the error nc: forward host lookup failed: h_errno 11001: HOST_NOT_FOUND
! I have tried specifying ip 127.0.0.1 and using -l instead of -L, but it didn't make a difference
does anyone kow how to stop this?!
Best Answer
You should either run
nc
ornc64
from the terminal (cmd.exe) with your arguments:nc -L -vv -p 4444
Or (if you prefer to startnc
/nc64
) from explorer, you should only input '-L -vv -p 4444' when it asks you forCmd line:
So when started as a standalone your terminal window before pressing enter should look like:
Cmd line: -L -vv -p 4444