Solved

connection  error in db2

Posted on 2011-03-24
5
2,135 Views
Last Modified: 2012-06-21
hi
      before my jsp pages were loading properly but now i am getting the following error


[jcc][t4][2043][11550][3.52.90] Exception java.net.ConnectException: Error opening socket to server localhost/127.0.0.1 on port 50,000 with message: Connection refused: connect. ERRORCODE=-4499, SQLSTATE=08001
0
Comment
Question by:manikandan689
5 Comments
 
LVL 37

Accepted Solution

by:
momi_sabag earned 500 total points
ID: 35206270
have you changed anything?
is it possible that the db2 database is down?
0
 
LVL 45

Expert Comment

by:Kent Olsen
ID: 35206597
Hi Dan,

"localhost/127.0.0.1".

The error message suggests that you're trying to establish a connection to a DB2 instance on the same machine, or that your web server is running on the same machine as the DB2 instance and it is unable to connect.

Have you moved your application, web service, or DB2 database to another machine?


Kent


0
 

Author Comment

by:manikandan689
ID: 35206891
Thanks i got it right.

my databases were down
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 35913525
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question