473,657 Members | 2,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2650
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
2511
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 than one instance of this application listening to the input request.How sholuld create multiple instance
8
3767
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 events. The callbacks specified by the subscriber will be called when the events get trigerred in a different thread. Each event has different kinds of data associated with it. To achieve this I have the following: // The following describes the...
1
1617
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 instance. One part of my program's functionality is that it parses all links from a webpage. Well, a script catches them and starts my tool with the links-string as a parameter. Within my app I want to be able to select some of those links and store...
20
4251
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 interface and accessing the datastore MUST pass in a UserToken in the constructor of the object. Is this not possible? Am I forced to add the UserToken as a property on the object instead? /Ole
1
1304
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 than one instance of this application listening to the input request.How sholuld create multiple instance of the application.Is is possible to have same port for listening for all the instances.
4
2949
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 for listen class public class listen
3
1260
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 complex structure with several fields, must be sent periodically, and although the frequency depends on calculations in the dll, on average we can say that a new message is being sent every 33 milliseconds.
9
3034
by: msbs1984 | last post by:
Difference Between Interface and Abstract Class?
5
1584
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); foreach (Module module in assembly.GetModules()) { foreach (Type type in module.GetTypes()) { try {
0
8316
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8833
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8509
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6174
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5636
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1730
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.