Based on the information you provided, the problem seems to be related to the firewall settings. You mentioned that changing the firewall setting to "Inbound Connection - Allow" solved the problem. This indicates that a firewall is blocking incoming traffic on port 1433.
There are other ways to allow inbound traffic into SQL Server on a Windows 10 computer, such as using a third-party firewall or a virtual private network (VPN). However, enabling inbound connections in Windows Firewall is the most common and straightforward method.
Hope the information is helpful.
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.