?
Solved

Named Pipes

Posted on 2001-07-02
3
Medium Priority
?
454 Views
Last Modified: 2008-03-04
Hi All

We have a web server (using IIS 5.0 and SQL Server 2000) that uses only TCP-IP as its network protocol and we are filtering out all but 4 ports. We are using Named Pipes as our NetLib. When we try to connect to the server from another machine using Named Pipes, we run into a "SQL Server Not Found" type of error. Is this because of the filtering or is there something else going on behind the scenes?

Thanks in advance.

Clayton
0
Comment
Question by:Gatsby
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Expert Comment

by:ibro
ID: 6246293
You can connect using TCP protocol and to be sure what's going on use IP address of the server, but not the name of server. Try to ping the server from the client machine and check if you firewall allows access to SQL Server port (default is 1433).
  hope this will help.
0
 

Author Comment

by:Gatsby
ID: 6246673
Hi Ibro


1433 is closed but there is no reason why we couldn't use the TCP-IP netlib. This is more an academic
question. I'm not quite sure of the differences between TCP-IP (Network protocol) TCP-IP (Net-Lib) and
Named Pipes. I am just looking for clarification on exactly why I can't get to the server using Named
Pipes. I suspect it is the TCP-IP filters but I'm not sure. I guess the real queestion is....do the
TCP-IP filters in place block Named Pipes?

Thanks!
0
 
LVL 1

Accepted Solution

by:
SYASSIN earned 400 total points
ID: 6253788
Hey Gatsby,

TCP-IP and Named Pipes are just the communication protocols that SQL Server uses in talking to other SQL Servers.  As a rule of thumb, if the SQL Server is isolated, then you should use Named Pipes.  If you plan to comunicate with another machine - TCP/IP is better.

There is no difference between TCP/IP (network protocol) and TCP/IP (Net-Lib) as you asked.  TCP/IP is TCP/IP - so if you are blocking port 1433 you will not be able to have you servers talk.  Make sure you either unblock that port or change the port number to something else that is not blocked.   I recommend the latter because if this is a web system, its more secure to change the port from the default (hackers are always taking advantage of those who leave the defaults... make sure your sa admin user has a password too if it does not).

Sultan
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

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…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Suggested Courses

752 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