Sponsored Content
Full Discussion: Who's using my port in AIX
Operating Systems AIX Who's using my port in AIX Post 302400856 by tenderfoot on Thursday 4th of March 2010 09:54:17 AM
Old 03-04-2010
Who's using my port in AIX

Hello Gurus,

I was trying to find who's using my port and got below answer from a IBM website. But the problem with the below answer is I need a root to run the rmsock, is there any other alternative to find out who is using my port with out a root access??

Code:
 
1. netstat -Aan | grep <port number>
- This shows if the specified <port number> is being used. The hex number in the first column is the address of protocol control block (PCB)
 
2. rmsock <addr of PCB> tcpcb
- This shows the process who is holding the socket. Note that this command must be run as root.

Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. AIX

Command to release a port in AIX

Hi All, I wanna know the command to release a particualr port in AIX machine without rebooting it. # netstat -a | grep 7100 tcp4 0 0 loopback.7100 *.* LISTEN # In the above example, how to release the port 7100 Thanks in advance. -Hemanshu (5 Replies)
Discussion started by: hemanshupatira
5 Replies

2. AIX

How to open a port in AIX

Hi Guys, i am trying to open a port in AIX. but i am not able to get the command for this. AIX is not having the iptables file present. So please any body can tell me how to open a port in AIX... Thanks sanju (2 Replies)
Discussion started by: sanju_d1231
2 Replies

3. UNIX for Dummies Questions & Answers

pid from port number in AIX

Hello guys, How to shut down a port number in AIX. May be first I need to find out what is the process ID of that process that listens to this particular port.. Is there any command to find a process ID from the port number other than "lsof". thanks (1 Reply)
Discussion started by: solaix14
1 Replies

4. AIX

Serial port in AIX

Hi, How can i configure my modem in AIX thru serial port (sa0-->tty0) I have two port serial card configured as sa0 I created tty1 which port is tty0 and which port is tty1 how can i know?? (1 Reply)
Discussion started by: pchangba
1 Replies

5. AIX

How to find what process is using a port in AIX 5L and above.

There have been a lot of threads about how to find processes that are using a specific port on an AIX server. After long hours of research and reading countless "you can't do that" responses, I finally found the answer. YES IT CAN BE DONE! YES ITS EASY. NO, I DON'T KNOW WHY NO ONE GETS THIS... (2 Replies)
Discussion started by: troym72
2 Replies

6. AIX

How to open port 1001 on AIX 6.1

Hi all, I have problem while starting Oracle Listener on port 1001(I think it's well known ports). It's error "Permission denied" I can start it on port 1111 and no any service started on port 1001(netstat -an). Can I start on this port ??, How ?? Thank you aRm (5 Replies)
Discussion started by: arm_naja
5 Replies

7. AIX

Blocking/starting a Port in AIX 6.1

Hello Team, We are having weblogic which running on AIX 6.1 Lpar machine. We not enabled any firewall(IPSEC) in AIX level. Our weblogic is running on cluster.Whenever we stop/restart the cluster we would like to stop/start the port(by using command) which used by the weblogic. Please... (2 Replies)
Discussion started by: gowthamakanthan
2 Replies

8. UNIX for Advanced & Expert Users

Help with AIX port limit

Hi guys, I have a problem need to solve urgently, please help me, any suggestion will be great. When my workmates installed a control-m agent in an AIX 6.1 OS, they got an error below: Port exceeded maximum allowed value. No available port found in the specified range up to 65535. ... (2 Replies)
Discussion started by: Lucas_0418
2 Replies

9. AIX

Source port on AIX for NAS is same?

In AIX servers, for mounting NAS mount points only 1021 1022 1023 are used as source ports on more than 300 servers while destination port on storage end is 2049, is there any settings on servers where these ports are defined for mounting NAS mount points? Any body faced this scenario? Thanks (16 Replies)
Discussion started by: anil1000
16 Replies

10. UNIX for Advanced & Expert Users

How to release port on AIX?

Hello all, I need your help with any command to release a port on AIX. Thanks for all. (5 Replies)
Discussion started by: Mcipamo
5 Replies
AUTHBIND-HELPER(8)						Debian Linux manual						AUTHBIND-HELPER(8)

NAME
authbind-helper - helper program to bind sockets to privileged ports without root SYNOPSIS
/usr/lib/authbind/helper addr4-hex port-hex <socket /usr/lib/authbind/helper addr6-hex port-hex 6 <socket DESCRIPTION
helper is the program used by libauthbind, which is in turn used by authbind to allow programs which do not or should not run as root to bind to low-numbered ports in a controlled way. See authbind(1). It may also be used standalone, i.e. without assistance from authbind. Its standard input should be a TCP/IP socket, and it should be passed two or three arguments. The arguments are the address and port number, respectively, to which the caller desires that the socket be bound, and the address family (ommitted for IPv4; the fixed string 6 for IPv6). addr4-hex and port-hex should be hex strings, without leading 0x, of exactly the right length (8 and 4 digits, respectively), being a pair of hex digits for each byte in the address or port number when expressed in host byte order. For example, the port argument is the result of something like sprintf(arg, "%04X", sin.sin_port). addr6-hex should be a string of 32 hex digits, being a pair for each byte in the address, in network byte order. EXIT STATUS
helper will exit with code 0 on success. If possible, helper will return an appropriate errno value as its exit status. If this is not possible it may exit with status 255 or with an exit status corresponding to ENOSYS (Function not implemented). ACCESS CONTROL
See authbind(1) for details of the access control regime implemented by helper. SEE ALSO
authbind(1), bind(2) AUTHOR
authbind and this manpage were written by Ian Jackson. They are Copyright (C)1998,2012 by him and released under the GNU General Public Licence; there is NO WARRANTY. See /usr/doc/authbind/copyright and /usr/doc/copyright/GPL for details. Debian Project 30th August 1998 AUTHBIND-HELPER(8)
All times are GMT -4. The time now is 06:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy