I have Windows Server 2022 with IP 192.168.0.10 for example. The server has a shared directory, for example Share. Windows 10 Pro computers on the 192.168.0.0/24 network can see this server and directory without any problems. However, I have a second network 192.168.1.0/24. The networks are connected by a router and, for example, from PC 192.168.1.10, I can ping Windows Server 192.168.0.10 and see IIS running on this server. But what I can't see is the server itself and its shared disk, even when I search for it using the IP \\192.168.0.10 or the name \\Windows-Server. Where could the problem be?
Go to Windows Firewall and add IIS to ALLOW on Public and Private in all ports... Should be fine... ATGPUD2003