The purpose of this post is to find out why I cannot log into a remote SQL Server instance from a Windows 10 system. My Windows 10 system connects just fine, and has fire wall rules that are too many and to un-restrictive.
Therefore, I would like to tighten my Windows 10/Windows Defender inbound and outbound firewall rules that I believe allow SQL Server Management Studio to talk to a SQL Server on a remote node. Both the client and server are on the same domain.
The SQL instance on the remote server uses dynamic port 49365.
I have as an inbound rule, unrestricted TCP for local and remote ports. To which ports should this rule be narrowed?
For my outbound rule, I have a UDP protocol for all local ports and remote port 1434.
I believe this crazy configuration allows SQL Management Studio to talk to a remote SQL server on dynamic port 49365.
Questions 1: What should my firewall rule settings really be?
(I'm going to ask Question 2 as a separate OP.)