How do you configure a ColdFusion 8 datasource to connect to a local SQL Server 2008 server?

十年热恋 提交于 2019-12-13 04:57:59

问题


I've set up a local SQL 2008 Server, enabled SQL Authentication, created a user for ColdFusion to use and verified that I can connect with that username and password using SSMS. (Connect using MACHINENAME\SQLEXPRESS)

However, I am unable to successfuly add the datasource in my CF Administrator, with the error being: Error establishing socket to host and port

Is there additional configuration of the server or ColdFusion that is necessary to connect?


回答1:


You should be able to just use LOCALHOST as the server name, and port 1433 as the port number. You may have to enable IP connections through the SQL Server Configuration Manager. You can search Google for instructions on how to do that, which I found here and here.



来源:https://stackoverflow.com/questions/5475702/how-do-you-configure-a-coldfusion-8-datasource-to-connect-to-a-local-sql-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!