Re: Strange connection problem



Greg Hines (ghines@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
MSDE2000 installed on 2003 Server.

With Windows Firewall turned ON, users in the same workgroup as the 2003
Server can connect to the SQL Database. Users on a different Workgroups
cannot connect to the SQL Database using either IP or ComputerName.

With the Firewall turned OFF, all users from all Workgroups can connect to
the SQL Database.

Can anyone explain to me why users in the same Workgroup can connect to
the SQL Database with the Firewall ON, while the Firewall must be turned
OFF to enable users from a different Workgroup to connect?

I assume the users connect with SQL authentication?

I would look for the answer in the firewall configuration. The default
is that no one could connect to SQL Server when Windows Firewall is on.
So if users in the same workgroup can connect, I suspect that someone
open port 1433 in the firewall. But possibly he only opened the port for
some IP addresses?


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: Verbindung zu SQL Server Express 2005 klappt nicht
    ... die Win Firewall ist trotz der Freigaben noch am ... Hab beim installieren diese SQL ... Was muss ich machen damit ich den SQL Server Express unter Vista Home ... Druckerfreigabe, TCP Port 1433, UDP Port 1434. ...
    (microsoft.public.de.sqlserver)
  • Re: SQL CALs question
    ... I haven't looked at this recently, but if you can live with Workgroup, ... to add an extra server running Windows Server 2003 R2 and SQL Server ... We currently have 20 CALs for the SBS. ...
    (microsoft.public.windows.server.sbs)
  • dts komunikation zwischen 2 Netze über eine Firewall
    ... Ich habe eine Windowsanwendung die Daten auf einer MS ... Ein zweiter SQL Server, der ... auf der Firewall den Port 1433 bidirektional für die IP ... Trustedconnection an den SQL Server1, ...
    (microsoft.public.de.sqlserver)
  • dts komunikation zwischen 2 Netze über eine Firewall
    ... >Ich habe eine Windowsanwendung die Daten auf einer MS ... Ein zweiter SQL Server, der ... >auf der Firewall den Port 1433 bidirektional für die IP ... >Trustedconnection an den SQL Server1, ...
    (microsoft.public.de.sqlserver)
  • Re: Strange connections, can somebody tell what to do?
    ... Do you know a good firewall? ... Some ports can be open like for internet and e-mail. ... And maybe sql, but only for access from my home ip. ... > It is a high securtiy risk to leave SQL Server visible from Internet. ...
    (microsoft.public.sqlserver.programming)