Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Programming / Connectivity / January 2006

Tip: Looking for answers? Try searching our database.

Ports to open in Windows Firewall for SQL Server 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
michael - 28 Jan 2006 15:32 GMT
I'm running the Develpers version of SQL Server 2005 on my developer machine.
I want to test an application from another machine but can neither log on nor
use the SQL Server Management Studio from the remote machine unless I turn
off the Windows Firewall on the development machine. (I made sure to enable
remote connections via the Surface Configuration Tool too).

Though I seem to have the correct services listed in the "Exclusions" of the
Windows Firewall, I think that I should probably explicitly open the ports
that SQL Server and the Management Studio use. What are the correct ports or
is there a better way to work through the Windows Firewall. (This problem
should only exist in my development environment because I would not use the
Windows Firewall in a production setting on the Server)

Signature

Michael Hockstein

Roger Wolter[MSFT] - 28 Jan 2006 20:03 GMT
Did you also enable and start the sqlbrowser service?

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

> I'm running the Develpers version of SQL Server 2005 on my developer
> machine.
[quoted text clipped - 14 lines]
> the
> Windows Firewall in a production setting on the Server)
michael - 29 Jan 2006 19:53 GMT
Yes it is enabled and running. I can establish connections if I disable the
Windows Firewall on the machine with the SQL Server instance.

Signature

Michael Hockstein

> Did you also enable and start the sqlbrowser service?
>
[quoted text clipped - 16 lines]
> > the
> > Windows Firewall in a production setting on the Server)
Roger Wolter[MSFT] - 30 Jan 2006 04:45 GMT
I meant is sqlbrowser enabled through the firewall.

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

> Yes it is enabled and running. I can establish connections if I disable
> the
[quoted text clipped - 26 lines]
>> > the
>> > Windows Firewall in a production setting on the Server)
michael - 30 Jan 2006 23:03 GMT
That's the trick! Enable the SQL Browser and Port 1433 in the Windows
Firewall and you get both connectivity and the ability to remotely
administer. Thanks!

Signature

Michael Hockstein

> I meant is sqlbrowser enabled through the firewall.
>
[quoted text clipped - 28 lines]
> >> > the
> >> > Windows Firewall in a production setting on the Server)
michael - 29 Jan 2006 23:11 GMT
After a little searching, I thought that simple enabling port 1433 on the
server machine's fire wall would do the trick. It does allow connection to
the server for data exchange but it does not allow remote administration via
the SQL Server Management Studio. What additional port need to be opened to
allow this?

Signature

Michael Hockstein

> Did you also enable and start the sqlbrowser service?
>
[quoted text clipped - 16 lines]
> > the
> > Windows Firewall in a production setting on the Server)
grumpy - 30 Jan 2006 01:31 GMT
Hi there michael,
If your connecting fine to the database and it accepts data exchange,
perhaps you might look at the database permissions. Rather than any more
ports.

Opening 1433 within the firewall as far as im aware, is all you need for
admin.

Give the test account full sysadmin rights, and try that.

regards..

> After a little searching, I thought that simple enabling port 1433 on the
> server machine's fire wall would do the trick. It does allow connection to
[quoted text clipped - 30 lines]
>> > the
>> > Windows Firewall in a production setting on the Server)
Steven Cheng[MSFT] - 30 Jan 2006 04:07 GMT
Hi Michael,

As Grumpy has mentioned, generally 1433 port is enough for connecting to
SQL server database engine. Also, for 2005, you can also try opening the
1434 UDP port since it will be used for establishing linked connection from
other applications. See the following article which describes the
"Connecting SQL Server over internet....":

Connecting to SQL Server over the Internet  
http://msdn2.microsoft.com/en-us/library/ms175483.aspx

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "grumpy" <dtREMOVE2k@blueTHISyonder.co.uk>
| Newsgroups: microsoft.public.sqlserver.connect
| References:  <171212F6-D91C-4A02-AB42-23BEC0C325EB@microsoft.com>
<#imE4XEJGHA.3904@TK2MSFTNGP10.phx.gbl>
<601836B2-038B-47C1-B1D5-99230963883A@microsoft.com>
| Subject: Re: Ports to open in Windows Firewall for SQL Server 2005
| Lines: 71
[quoted text clipped - 8 lines]
| X-Complaints-To: abuse@blueyonder.co.uk
| X-Trace: text.news.blueyonder.co.uk 1138584669 82.42.42.142 (Mon, 30 Jan
2006 01:31:09 GMT)
| NNTP-Posting-Date: Mon, 30 Jan 2006 01:31:09 GMT
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!newsfe
ed01.sul.t-online.de!t-online.de!solnet.ch!solnet.ch!newsfeed.freenet.de!bor
der2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!p
e2.news.blueyonder.co.uk!blueyonder!pe1.news.blueyonder.co.uk!blueyonder!tex
t.news.blueyonder.co.uk!53ab2750!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.connect:46765
| X-Tomcat-NG: microsoft.public.sqlserver.connect
[quoted text clipped - 45 lines]
| >> > the
| >> > Windows Firewall in a production setting on the Server)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.