Question
Connecting to SQL Server in CF8
This is probably more of a SQL Server question than a
ColdFusion question, but I'll ask anyway.
I'm trying to connect a SQL Server 2000 database (name: RSA) on server RSA to CF8 on server Earth. I'm pretty sure I have everything correct on the CF side. Random data source name, 'rsa' as the database, the server IP for the server (I also tried the DSN name), port 1433, and then the username and password. The advanced settings looked good so I left it alone.
This is my error message:
Connection verification failed for data source: admi-sql
java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: 207.148.212.79:1433. Reason: Connection refused: connect
The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: my_server_ip_address:1433. Reason: Connection refused: connect
I am using the MS SQL Server driver.
Perhaps I'm using the wrong port? How would I find the correct port? I know the database is running and I've been able to connect to it on the RSA server with the username and password I'm using on Earth.
Any thoughts?
Thanks in advance!
I'm trying to connect a SQL Server 2000 database (name: RSA) on server RSA to CF8 on server Earth. I'm pretty sure I have everything correct on the CF side. Random data source name, 'rsa' as the database, the server IP for the server (I also tried the DSN name), port 1433, and then the username and password. The advanced settings looked good so I left it alone.
This is my error message:
Connection verification failed for data source: admi-sql
java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: 207.148.212.79:1433. Reason: Connection refused: connect
The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: my_server_ip_address:1433. Reason: Connection refused: connect
I am using the MS SQL Server driver.
Perhaps I'm using the wrong port? How would I find the correct port? I know the database is running and I've been able to connect to it on the RSA server with the username and password I'm using on Earth.
Any thoughts?
Thanks in advance!
