aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes How do i find the port number of a Resource installed on a machine ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How do i find the port number of a Resource installed on a machine ?" Watch "How do i find the port number of a Resource installed on a machine ?" New topic
Author

How do i find the port number of a Resource installed on a machine ?

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Hello Ranchers +xperts

How do i find the port number of a Resource installed on a machine ?

For example how do i find the port number of a DataSource installed ??


If you want something you never had do something which you had never done
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
What exactly do you mean by "resource"? For a DataSource, the DB server is listening on a particular port, which you can find out wherever the DataSource is configured; if there's no port number listed, then the default port is used (which varies between databases; consult the DB's documentation).

What prompted this question?


Ping & DNS - my free Android networking tools app
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Ulf Dittmer wrote:
What prompted this question?


What propmted me is that i a trying to install RFHUtil for IBM MQ and it is asking the IP and port number on which MQ is installed.

But i don't know how to find the port number.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18669
    
    8

Then your best bet is to ask the person who installed that instance of MQ.

If that was you, and you don't know what port you specified, then you probably didn't specify the port and MQ is listening at its default port.
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Ya its me who installed and i found its listening to its default port 1414
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i find the port number of a Resource installed on a machine ?