How to tell which port a process is listening on

My client has MQ Series configured, but I am unable to reach personnel who can tell me which port MQ Series listens on.  I am trying to use an evaluation tool, MQ Batch Toolkit and am unable to connect because I don't have the correct port.  They are not using the default, 1414.
 Netstat does not show me the process associated with the port.  Appreciate any help.
lhalkapeelAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mrwebdevCommented:
Default Port is usually 1414
0
mrwebdevCommented:
Have you tried the dos command?

netstat -a

Hope this helps!
0
brownmattcCommented:
Try some freeware called FPort
http://www.foundstone.com/index.htm?subnav=resources/navigation.htm&subcontent=/resources/proddesc/fport.htm

Description Follows:

Identify unknown open ports and their associated applications
Copyright 2002 (c) by Foundstone, Inc.
http://www.foundstone.com 

fport supports Windows NT4, Windows 2000 and Windows XP
fport reports all open TCP/IP and UDP ports and maps them to the owning application. This is the same information you would see using the 'netstat -an' command, but it also maps those ports to running processes with the PID, process name and path. Fport can be used to quickly identify unknown open ports and their associated applications.

Usage:


C:\>fport
FPort v2.0 - TCP/IP Process to Port Mapper
Copyright 2000 by Foundstone, Inc.
http://www.foundstone.com


Pid Process Port Proto Path
392 svchost -> 135 TCP C:\WINNT\system32\svchost.exe
8 System -> 139 TCP
8 System -> 445 TCP
508 MSTask -> 1025 TCP C:\WINNT\system32\MSTask.exe
392 svchost -> 135 UDP C:\WINNT\system32\svchost.exe
8 System -> 137 UDP
8 System -> 138 UDP
8 System -> 445 UDP
224 lsass -> 500 UDP C:\WINNT\system32\lsass.exe
212 services -> 1026 UDP C:\WINNT\system32\services.exe

The program contains five (5) switches. The switches may be utilized using either a '/'
or a '-' preceding the switch. The switches are;

Usage:
/? usage help
/p sort by port
/a sort by application
/i sort by pid
/ap sort by application path
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

snerkelCommented:
Probably one of the best port viewers and it is free http://www.sysinternals.com/ntw2k/source/tcpview.shtml
0
paraghsDy General ManagerCommented:
0
gerodimCommented:
mrwebdev's right ,    netstat -a
0
lhalkapeelAuthor Commented:
All,

Thanks you for your suggestions, but MQ Series is installed on a Solaris machine.  Netstat -a will not tell me the process associated with a port [unless I am not reading it correctly].  I know the name of the MQ process but cannot figure out it's port.
BTW, we have confirmed that it is NOT running on the default port, 1414.

Thanks!
0
Cyber-DudeCommented:
Sysinternals TCP View offered by snerkel is a good suggestion... You can use Process Explorer (from the same site) to verify which files are loaded while T/R is taking place

Cyber
0
cpc2004Commented:
lsof is a freeware which can display which port usage and the owner. I use lsof at AIX and I believe that lsof is also available at Solaris.


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rindiCommented:
As far as I know solaris has an etc folder. look in there if you can find a configuration file for your MQ Series. Any port info would probably be in such a file, and those files usually are plain text files (you may need to root to have the rights to view some of these files).
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.