This problems happens on various builds on Windows 10 (1709, 1803, and earlier ones), and most of recent updates of McAfee LifeSafe (don't remember when first noticed this issue). Current version 16.0R3, Firewall 18.3.130.
With Firewall turned on:
9 packets transmitted, 0 received, 100% packet loss, time 8016ms
In the log I see that DNS replies are blocked. It works fine from CMD though.
When Firewall is disabled everything works as it should:
root@xxxxx:/home/zzzzz# ping6 www.google.com
PING www.google.com(sfo07s26-in-x04.1e100.net) 56 data bytes
64 bytes from sfo07s26-in-x04.1e100.net: icmp_seq=1 ttl=54 time=9.76 ms
64 bytes from sfo07s26-in-x04.1e100.net: icmp_seq=2 ttl=54 time=12.1 ms
--- www.google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 9.767/10.959/12.151/1.192 ms
Open McAfee, Click PC Security tab on the top and select Firewall (on the left part of the screen). Scroll down and select My Network Connections. Click Add and type the IP address of the concerned application under IP Address Version > IPV6. Select your Network type and Save it. Check now
unfortunately, there are 3 problems with this solution:
1) I tried it, it doesn't work
2) IPV6 address of router is changing, so will have to update it regularly
3) Somehow Firewall blocks UDP from port 53 on router to only WSL applications, so IPV6 is not resolved properly.
Please try the below steps
1. Enable Port 80 and 443 under McAfee Firewall > Ports and System Services
2. Add the Port No.3000 under McAfee Firewall > Ports and System Services > Add > Local TCP Port > Save it.
3. Add the Port No.53 under McAfee Firewall > Ports and System Services > Add > Local UDP Port > Save it.
4. Enable Allow ICMP Ping requests under McAfee Firewall > Smart Advice and Advanced Settings
Unfortunately, it doesn't affect behavior for WSL apps, ping6 still can't send ICMP to servers, and on Ubuntu 18.04 there are problems connecting using TCP to servers resolved to IPV6 addresses.