Solved

connection rejection for (local) on sql server 2000 ?

Posted on 2007-03-28
3
185 Views
Last Modified: 2013-11-16
(local) does not work in our applications. We shipped an application which uses the connection string as (local) for Sql Server 2000. When our firewall is running , the conneciton is rejected , how can we work around this problem ? We cannot change the connection string now, can we change any settings for the firewall ?
0
Comment
Question by:tech_question
3 Comments
 
LVL 11

Expert Comment

by:Ved Prakash Agrawal
ID: 18808920
check the port 1433 are blocked by firewall or not..
you need to allow port 1433 for sql server to connect
0
 

Author Comment

by:tech_question
ID: 18808968
we tried to telnet via port 1433 and it works - any other ideas ?
0
 
LVL 24

Accepted Solution

by:
DBAduck - Ben Miller earned 500 total points
ID: 18812743
When using (local) it is about name resolution.  (local) usually maps to Named Pipes or 127.0.0.1, but still uses Named Pipes.  I would check the Server Network Utility and make sure that TCPIP is enabled.

The other thing is that if the application is not running on teh machine that SQL Server is running on, then you have bigger problems than that, as (local) does not have a name necessarily that you can map it to via HOSTS or anything else that I know of.
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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

856 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