I fixed the typo in the title (âWinodwâ vs âWindowsâ), but it looks like your problem is not with Docker, but with WSL and Windows so a Microsoft forum could be a better place to your question.
Docker inside the WSL2 distribution will not be able to control whether Windows Server forwards requests to the WSL distribution or not. As far as I know, you will have to create the forward rules if you want it to be available from another machine and you have to make sure the Windows firewall allows the request.
If you see that TCP works and only UDP is which doesnât work, then I have no idea why it is happening, but again, Windows server users could probably tell you more about that too