Solved

SQL Server Firewall Rules... what am I missing here?

Posted on 2016-08-22
3
64 Views
Last Modified: 2016-08-22
I've installed a SQL Server named instance. I can connect using SSMS to it locally just fine. If I disable the firewall I can connect to it remotely just fine, also using SSMS. I've added a rule to open port 1433 on the firewall but it's not letting my connection through. What am I missing here?
0
Comment
Question by:Russ Suter
3 Comments
 
LVL 15

Expert Comment

by:Haris Djulic
ID: 41765786
You need to add rule for SQL server browser ...

Paste use SQL Server Browser, you must open UDP port 1434

From https://msdn.microsoft.com/en-us/library/ms175043.aspx
1
 
LVL 83

Accepted Solution

by:
oBdA earned 500 total points
ID: 41765789
A named instance doesn't listen on 1433, it listens by default on a randomly picked port.
Set the port to a static one, and adjust the firewall rules accordingly.
How to assign a static port to a SQL Server named instance – and avoid a common pitfall
https://blogs.msdn.microsoft.com/arvindsh/2012/09/08/how-to-assign-a-static-port-to-a-sql-server-named-instance-and-avoid-a-common-pitfall/
0
 
LVL 20

Author Closing Comment

by:Russ Suter
ID: 41765880
All these years of using SQL Server and I never knew this. Thanks. I was able to lookup the port and add the appropriate rule and it works fine now.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Slow Connectivity over ODBC 8 32
Why Delete * statement wont work with sql server ? 6 38
PerfMon Report Time Out 6 21
Sql Server group by 10 23
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now