1753481 Members
4896 Online
108794 Solutions
New Discussion юеВ

ports and services

 
Dan Am
Frequent Advisor

ports and services

who or what listens on ports 1041-1045 ?
it is not in /etc/services.
are there other places where ports are specified?
is it - god forbid - a trojan ?
any tools to find out the service on a port
apart from "grep /etc/services"

thanks for your help

do what you can. don't if you can't.
5 REPLIES 5
Vladislav Demidov
Honored Contributor

Re: ports and services

You can GlancePlus apllication to determ which process is using specific port. Or you can download Download lsof command from HP-UX Porting Site ( http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.48/ )
federico_3
Honored Contributor

Re: ports and services



you could install lsof software from :

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.48/:


You can see also

man rpcinfo
man netstat


I hope this helps






Isabel Romero
Valued Contributor

Re: ports and services

You could use "netstat -an | grep 1041" to find the "connections" to that port.
Anthony deRito
Respected Contributor

Re: ports and services

May want to look at programs registered with the portmapper. These may or may not be listed in /etc/services. Use the command rpcinfo -p to list these services along with their port information.

Tony
Rick Garland
Honored Contributor

Re: ports and services

The tool lsof is very handy to find out what is using a port. Also can tell you who is using the port