Solved

connection rejection for (local) on sql server 2000 ?

Posted on 2007-03-28
3
178 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

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

920 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

18 Experts available now in Live!

Get 1:1 Help Now