They recently blocked all the ports on our SQL Server. The Server has different instances, and opening port 1433 didn’t work. What do we need to open up to allow access to SQL Server?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On the computer where the server instance are installed:
If you haven’t configured your servers previously, you are probably using dynamic ports. This is not what you want, because the port could change: that will invalidate your firewall settings. So, just clear the TCP Dynamic Ports entry and enter the current dynamic port number in the TCP Port entry for IPAll. After you restart the server instance, the server will be pinned to that port.
One follow-up note: if you want to reference the servers from outside the firewall by instance name, you’ll have to allow the SQL Server Browser through the firewall, which is UDP port 1434. In my view it is better to reference instances by port from outside and don’t worry about the SQL Browser. For example, instead of using
MYSERVER\SQLEXPRESSin your connection string, useMYSERVER.mydomain.com,12345(in this example SQLEXPRESS is running on port 12345). Note that the port syntax in a connection string uses a comma delimiter instead of the colon delimiter used for an http uri.