Skip to main content
Bumped by Community user
added 'windows-10-v607' tag
Link
magicandre1981
  • 98.6k
  • 30
  • 182
  • 248
Source Link
Flare Cat
  • 944
  • 3
  • 8
  • 16

Is it possible to run networking commands like nmap in WSL?

I recently got the Windows 10 anniversary update and installed bash. I tried installing nmap, but it wouldn't run.

My question: Is there any way for commands like nmap to correctly run in WSL?

Thanks in advance!

Error I get when running sudo nmap -sn 192.168.1.*: route_dst_netlink: cannot bind AF_NETLINK socket: Invalid argument

I remember reading somewhere that WSL doesn't have support for sockets, but can use TCP. Is this possible in this case? Also, will WSL ever have support for sockets?