473,378 Members | 1,543 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Strange connection problem

Hi Everyone,

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?

TIA

Greg
Jun 27 '08 #1
4 1842
Greg Hines (gh****@aussiemail.com.au_NO_SPAM) 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, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jun 27 '08 #2

"Erland Sommarskog" <es****@sommarskog.sewrote in message
news:Xn**********************@127.0.0.1...
Greg Hines (gh****@aussiemail.com.au_NO_SPAM) 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?
Yes, SQL authentication only.

I've found nothing about any firewall ports being open. So I opened port
445 (Named Pipes) and I'm still getting the same results. Seems very
strange to me.

Greg
Jun 27 '08 #3
Greg Hines (gh****@aussiemail.com.au_NO_SPAM) writes:
I've found nothing about any firewall ports being open. So I opened port
445 (Named Pipes) and I'm still getting the same results. Seems very
strange to me.
In Control Panel, click Windows Firewall. Check the Expressions tab. You
may have SQL Server listed. In such case click Edit, and look under the
button Change scope.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jun 27 '08 #4
In Control Panel, click Windows Firewall. Check the Expressions tab. You
may have SQL Server listed. In such case click Edit, and look under the
button Change scope.
Will do that's a great idea. Thanks.
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: WU FUHENG | last post by:
Today,I found a strange problem in python multi-thread programming.When I used function win32com.client.Dispatch('ADODB.Connection') in primary thread, it was OK. But when I called it in...
0
by: Steve Barker | last post by:
Hi guys, I've written an application in C# that connects to a Paradox table via ODBC. My code has always worked fine, but now I've moved my application to another machine, it's stopped working!...
1
by: mdurliSPAMFILTER | last post by:
Hello, I developed a win32 .exe CGI that connects to a clustered SQLServer to report some data. The software is written with Borland C++Builder. This is the oledb string:...
9
by: Wescotte | last post by:
Here is a small sample program I wrote in PHP to help illustrates problem I'm having. The data base is using DB2 V5R3M0. The client is WinXP machine using the iSeries Client Access Driver ver...
3
by: Trapulo | last post by:
I've two copy af the same asp.net application. The application enter on sql server, working with two separate databases (on the same sql server instance, of course). The connection is made with...
0
by: theintrepidfox | last post by:
Dear Group I came accross a very annoying behaviour of Visual Studio, giving me six hours of headache till I found the solution. This post is mainly for fellow developers for reference as it...
2
by: Buddy Ackerman | last post by:
I have a web app that I have setup on numerous web servers. I've set one up for a new client at their hosting facility and cannot get it to connect to their database. I get a "SQL Server does not...
0
by: ivb | last post by:
Hi all, I am using DB2 8.1.11.1 on NT with ASP.NET 1.1 When application make connection to database (via ADO.NET), it set "Connection timeout" parameter to 30 seconds. After, when my webpage...
0
by: Shimon | last post by:
Hello, I have encountered strange problem regarding authentication and clustering. This is the scenario: We have an intranet web site with anonymous access, security using forms Auth and...
4
prometheuzz
by: prometheuzz | last post by:
Hello all, There's this problem I have, which I am unable to find a solution for. The problem is this: I cannot post messages with a specific size on (certain) forums. I hear you thinking: what...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.