• Post Reply Bookmark Topic Watch Topic
  • New Topic

access sql server database from WSAD 5.1.2

 
amine joe
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone

I have a problem that i consider serious one because it doesn't permit me to forward in my development
when I want to connect my struts web app to the database MS-SQL server 2000 Always I have this message
IWAS0126E Problems encountered while trying to establish connection con1.
reason : '[IBM][SQLServer JDBC Driver] Error establishing socket. Connection refused: connect'

please help me

thanks in advance

amine
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36032
432
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amine,
Welcome to JavaRanch!

Is this database on your machine or a remote one? Can you access the database via the command line?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!