netstat -na|grep 9950

The port is being used by a process(9950)
netstat -na|grep 9950

Gives me the output that  it is being used ,listened and Established .
I want to use this port for my weblogic port(http).and I want to know who, which process is using it so that I will
allocate a different port to this and Free my Port.
Is there any way I can find who is using this port.

Please advice????

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.

"netstat -ltnp | grep 9950"

This will give the process associated with that port.
Find the tool called "lsof" on the web and install it and then use it.

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
ballioballiAuthor Commented:
Where I have to Install this tool ?? on the Server??
or Locally?? I am not a System Admin but DBA.
Your advice will be highly appreciated!!
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

ballioballiAuthor Commented:
netstat -ltnp | grep 9950"

$ netstat -ltnp | grep 10550
netstat: Not a recognized flag: l
Install lsof in the server you want to monitor all of open TCP/IP connection by the specific process.

Once you have lsof installed, then you can do

lsof | grep 9950 | grep TCP

For example, I search for all of TCP/IP connection with process ID 311356, then I ran 'lsof | grep 311356 | grep TCP'

 > lsof | egrep "311356" | egrep "TCP"
lsof: WARNING: compiled for AIX version; this is
lsof: WARNING: /home/kiman/.lsof_ptatx029 was updated.
GWTDOMAIN   311356 kiman    4u  IPv4  0xf10000f32c67cb58                0t0                                                   TCP ptatx029:3461 (LISTEN)
GWTDOMAIN   311356 kiman   10u  IPv4  0xf10000f3d06e0b58                0t0                                                   TCP ptatx029:3461->ptatx029:56977 (ESTABLISHED)
1, -bash-2.05b# netstat -Aa | grep ESTABLISHED
f10006000199d398 tcp4 0 0 tivp5clp2.15204 tivp5clp2.44462 ESTABLISHED --> for example
f10006000183cb98 tcp4 0 0 tivp5clp2.44462 tivp5clp2.15204 ESTABLISHED
f1000600002e4b98 tcp4 0 0 tivp5clp2.44394 tivp5clp2.44459 ESTABLISHED
2, -bash-2.05b# echo "sockinfo f10006000199d398 tcpcb"| kdb | grep proc
F100070F00000000 F100070F10000000 pvproc+000000
proc/fd: 292/146
proc/fd: fd: 146
pvproc+049000 292*java ACTIVE 01240A2 0000001 00000000EA97F400 0 0032
3, -bash-2.05b# echo "hcal 01240A2" | kdb | grep Value
Value hexa: 001240A2 Value decimal: 1196194
4, -bash-2.05b# ps -fp 1196194
root 1196194 1 0 10:31:46 - 1:11 /opt/IBM/ITM/aix533/iw/java/bin/java -Dosgi.install.area=/op
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
Unix OS

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.