This version should now be compatible with WSL2.
The client IP address is determined by examining the IP addresses from all network adapters. IP addresses in the 172.xxx.xxx.xxx subnet are ignored. The first non-ignored IP address is considered to be the one of the client.
For non-windows systems no relevant changes are made.