473,383 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

How can i tell which interface the db2 instance is listening on

Ive installed db2 V8.1 FP11. when i run a local connection, it
connects correctly. However when i run a remote connect (using
squirel) it gives a connection refused error.

i ran a tcpdump on the port (60000) whicle attempting to connect and i
can see incoming traffic from the remote machine, but all traffic
going out has 0bytes.

Im not sure why the connection is being refused, as the logins ect are
the same as i use on the local machine.

If i wanted to change the port the instance is running on, is there
anywhere other than /etc/services it needs to be changed?

OS is AIX 5.3 ML4

Is there any other way to find out why the connection is being refused
on the server?

Apr 11 '07 #1
1 2637
On 11 Apr, 13:35, "bomahony" <bomah...@gmail.comwrote:
Ive installed db2 V8.1 FP11. when i run a local connection, it
connects correctly. However when i run a remote connect (using
squirel) it gives a connection refused error.

i ran a tcpdump on the port (60000) whicle attempting to connect and i
can see incoming traffic from the remote machine, but all traffic
going out has 0bytes.

Im not sure why the connection is being refused, as the logins ect are
the same as i use on the local machine.

If i wanted to change the port the instance is running on, is there
anywhere other than /etc/services it needs to be changed?

OS is AIX 5.3 ML4

Is there any other way to find out why the connection is being refused
on the server?
1. Do a "netstat -an" to see if the port is listening.

If it's not, it's most likely that you've not done:-

1. "db2set DB2COMM=tcpip"
2, "db2 update dbm cfg using svcename <port>"
3. Stopped and restarted the instance.

To test your connection, you can catalog a tcpip node and your
database against that tcpip node on your server and test the
connection there. If that works, then there will be a problem between
your server and your client. This will either be that you've cataloged
the server tcpip node incorrectly on your client, or are referring to
the server by a name that isn't recognised by your DNS server. You can
try pinging the server name you've cataloged to see if this works.

Apr 11 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: varadha | last post by:
Hi, My Application listening to a port of my machine and it response with data to the requesting system. This application is provided as a service in my machine. Now i am planning to have...
8
by: Ash | last post by:
Hello all, I am hoping this is the appropriate newsgroup for a C++ interface design question. I am trying to design an interface for a subscriber to register/deregister handlers for various...
1
by: Kevin Otte | last post by:
Hi, I'm currently working on a program that is supposed to allow only one instance of itself. How can I transfer the data that is passed to a second instance as a parameter to the first...
20
by: Ole Hanson | last post by:
I am accessing my database through an interface, to allow future substitution of the physical datastore - hence I would like to declare in my Interface that my DAL-objects implementing the...
1
by: varadha | last post by:
Hi, My Application listening to a port of my machine and it response with data to the requesting system. This application is provided as a service in my machine. Now i am planning to have more...
4
by: Ankit Aneja | last post by:
giving following error System.NullReferenceException' occurred in Additional information: Object reference not set to an instance of an object. it is breaking on line:if(cl.status==true) code...
3
by: aitzi | last post by:
Hi to all! We are designing a dll that needs to send some information periodically to a possible interface application that is listening to these messages. The information, which consist on a...
9
by: msbs1984 | last post by:
Difference Between Interface and Abstract Class?
5
by: =?Utf-8?B?V2F5bmUgQmVycnk=?= | last post by:
I am using reflection and trying to determine if an assembly contains a type that has a particular interface. So my code looks like this: Assembly assembly = Assembly.LoadFile(fileName);...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.