1834878 Members
1887 Online
110070 Solutions
New Discussion

Re: TCP PORT

 
SOLVED
Go to solution
Miguel Carabano_1
Regular Advisor

TCP PORT

Hi,

As I can know if to the port:
sapdp99 3299/tcp

this being used?

Thanks

MC
8 REPLIES 8
Arunvijai_4
Honored Contributor

Re: TCP PORT

Hi MC,

It is being used by SAP router.

http://documents.made-it.com/sap-int.html
http://www.easymarketplace.de/saprouter.php

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Peter Godron
Honored Contributor
Solution

Re: TCP PORT

MC,
can you please try:
netstat -a | grep 3299
alternatively you can use is a tool called lsof, which you can download.
Peter Godron
Honored Contributor

Re: TCP PORT

MC,
sorry for second post!
Have found the latest version of lsof at:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.76/
AshishJain_USA
Frequent Advisor

Re: TCP PORT

Hi

Just use the command

# lsof | grep 3299

It will show you the program/command that is using the TCP Port 3299 .

rgds..Ashish
Sandman!
Honored Contributor

Re: TCP PORT

Hi Miguel,

If you have lsof simply run the below-listed command, which will show the process that is listening on that port as well the current network sockets:

# lsof -iTCP:3299

cheers!
Mark Greene_1
Honored Contributor

Re: TCP PORT

If you don't have lsof installed on the system, you can do:

netstat -n |grep 3299

this won't show you the process, but if it returns anything, will show you if it's being used. If it returns nothing, that means the port is not in use only at that time. If you have applications on the system that use tcp sockets, you may want to check with the application vendors or any of your coworkers who work with the apps about where the configurations files are to see if that port has been set-up for use.

mark
the future will be a lot like now, only later
Dave La Mar
Honored Contributor

Re: TCP PORT

Miguel -
While I use netstat as other have mentioned, my weapon of choice is ndd for the additional information the output contains.

i.e.
ndd -get /dev/tcp tcp_status | grep ce3

ce3 being the hex value for 3299

The output will identify what the port is connected to as in remote ip and remote port.

Regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Miguel Carabano_1
Regular Advisor

Re: TCP PORT

Thanks

Miguel