When encountering the situation that the IIS service cannot be accessed in the LAN, please set the windows firewall rules first, and open the corresponding port, so that the IIS service can be accessed in the LAN.
For specific settings, please refer to the link below:
It is also recommended to read this article: