Pages: [1]
  Print  
Author Topic: SQL localhost connection problem  (Read 915 times)
willem67
Newbie
*
Posts: 2


« on: September 01, 2010, 04:51:44 PM »

I'm having a problem connecting to a local database in SQL Server 2008. When connecting to a remote database on another machine it connects fine, but when I try to connect to the same database on my local machine it does not want to connect and give me an error saying:

Database error occurred: Network error IOException: Connection refused: connect.

Has anyone experienced this problem or have any suggestions?
Logged
B.
Jr. Member
**
Posts: 71


« Reply #1 on: September 02, 2010, 04:07:02 PM »

1.   Make sure TCP is on

start > programs > sqlserver 2008 > configuration tools > sql config manager, protocols for mssqlserver, enable TCP/IP   

2. find el chief's sql setup tutorial on youtube (vancouver data)

Logged
Neil McGuigan
Jr. Member
**
Posts: 65


WWW
« Reply #2 on: September 02, 2010, 07:16:47 PM »

willem,

1. are you able to connect with other tools? such as SQL Server Management Studio?

2. Make sure that SQL Server Browser service is running


« Last Edit: September 09, 2010, 08:52:25 PM by Neil McGuigan » Logged

willem67
Newbie
*
Posts: 2


« Reply #3 on: September 06, 2010, 10:01:45 PM »

Thanks for the quick replies guys

I'm using SQL Server Management Studio. Connections from other applications works fine. Also TCP/IP protocol is turned on. What baffles me the most is that I can connect fine whenever the database is on the network. Its just irritating cause I cannot figure it out.
Logged
knightsy
Newbie
*
Posts: 3


« Reply #4 on: May 03, 2011, 04:23:31 PM »

1.   Make sure TCP is on

start > programs > sqlserver 2008 > configuration tools > sql config manager, protocols for mssqlserver, enable TCP/IP   


I was having the exact same issue and this fixed the problem  Smiley
Logged
Pages: [1]
  Print  
 
Jump to: