Solved

connection rejection for (local) on sql server 2000 ?

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Replication question 9 42
sql query to calculate avaerage 21 39
What's wrong with this T-SQL Foreign Key? 7 45
convert null in sql server 12 34
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

772 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