How to allow remote connection in SQL Server?

Hi Guys,

How to allow remote connection in SQL Server?

My error message is here :

TITLE: Connect to Database Engine

Cannot connect to aslon-lt.


A connection was successfully established with the server, but then an error occurred during the pre-login handshake.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)

For help, click:


Who is Participating?
AmmarRConnect With a Mentor Commented:
Dear softbless

there could be several reasons

1. are you using default port 1433 or a different port, if you are using a different port you should connect to the following


check links below for more troubleshooting details

Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
you should read this support note to configure this:

apart from that, check this article to troubleshoot the most common connection issues:
samijsrConnect With a Mentor Commented:
Check your Server Setting, weather Allow remote connection to this Server is checked or not.

Right Click on Server  -> Properties  -> Connections

If it is Un-checked, then checked this.

If still not able to connect remotely, then check the Port as default port 1433 there should be no problem, otherwise you have to specify the Port as well
Note: check your Port
softblessAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.