Problem with database connection to SqlServer 2005

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
Bru
Posts: 8
Joined: 13 Oct 2006, 17:36

Problem with database connection to SqlServer 2005

Post by Bru »

Hi, we are trying to connect to a SQLServer 2005 database and it failed with the following error:

(DbManager.executeQuery): DbManager could not retrive a connection. com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect

It has worked before but it stopped since we reinstalled SqlServer. Nothing changed on our SmartFox configuration. I figure the problem must be on the SqlServer put I can put my finger on it.

Does someone know what could be the reason for this failure?

Thanks
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Maybe the server is not configured to receive connections from "outside" ...
I am not familiar with MS SQL but we use MySQL a lot and this is the default behavior of the db server when installed, it only allows local connections
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply