When using a WSL 1 distribution, if your computer was set up to be accessed by your LAN, then applications run in WSL could be accessed on your LAN directly.
However, this isn't the default case in WSL2 as it has a virtualized ethernet adapter with its own unique IP address.