JDBC with SQLserver – Connection refused: connect

Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on email

If you are trying to use SQLserver with InfoCaptor and are using the SQL Studio Express 2005 then you might encounter connection refused error

Please try the following setup before attempting to connect

open the Configuration Manager
Start -> Microsoft SQL Server 2005 -> Configuration Tools -> SQL Server Configuration Manager

Image

2. Then at the left hand tree. Select SQL Server 2005 Network Configuration-> Protocol for SQLEXPRESS-> TCP/IP

Image

3. Right click and enable it.

Image

4. A window box appear on double click the TCP/IP. Click on the “IP Addresses” Tab

Image

5. Set the TCP Port value to 1433 then click apply

6. Then at the left hand tree. Select SQL Server 2005 Services -> SQL Server (SQLEXPRESS) -> right click and restart.

Image

 

Now go back to InfoCaptor connection wizard and enter the connection details

Image

 

Where “rudrasoft” is the PC name where SQL server is installed. So use the appropriate name for your installation

If you go to your SQL Server Studio, you will see the name before the backslash

 

Image

The port is 1433 which we entered in the TCP/IP port settings

and the database is “Adventureworks”

The Core Tools

Spending Too much time on YouTube

InfoCaptor AI turns long videos into bite-sized summaries, searchable tags, organized dashboards and stunning Knowledge Graphs — learn more in less time
SALE
The ability to filter and share by tag or topic is 🔥. I’ve never seen a YouTube tool that helps with knowledge sharing like this.
- Will Zhang
Love how the summary is broken down by sections. I jump right to the part I care about instead of skimming a full transcript.
- David Lin