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
Solved

Named Pipes

Posted on 2001-07-02
3
450 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
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 100 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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…
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

860 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