Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4029828
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:23:40+00:00 2026-05-20T11:23:40+00:00

I was able to connect to MSSQL 2008 express on local machine using SQL

  • 0

I was able to connect to MSSQL 2008 express on local machine using SQL server management Studio for host ‘nash-pc\sqlexpress’. But when I connect with Microsoft JDBC driver it gives me error like below. JDBC has problem with having ‘\’ in the host name? I’m not sure how to make host name to become ‘localhost’ instead of ‘nash-pc\sqlexpress’. funny thing is that if i use server name as ‘localhost’ then I could not even connect with SQL server management Studio.

“The driver encountered an unknown error: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host nash-pc, port 1433 has failed. Error: "Connection refused: connect. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.“.”

My JDBC connection string

Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver

url: jdbc:sqlserver://nash-pc\sqlexpress:1433;databaseName=jruby

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:23:41+00:00Added an answer on May 20, 2026 at 11:23 am

    http://www.webxpert.ro/andrei/2009/05/31/enable-tcpip-on-sql-server-2005-express-edition/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Env.: Vista SP1, SQL Server Express 2005 I'm able to connect to my localhost
I am trying to connect to SQL Server 2008 (not express) with PHP 5.2.9-2
How would I be able to connect to MS SQL Server 2005 through Windows
I have Oracle SQL Developer already installed and am able to connect to and
I need to be able to use https to connect to a server and
We're doing a sort of roll-your-own replication from a SQL Server 2008 R2 database
I'm able to connect to and read an excel file no problem. But when
Within c#, I need to be able to Connect to a remote system, specifying
The title kinda sums it up--I need to be able to pro grammatically connect
I have an Excel 2007 workbook which I am using to connect to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.