Sponsored Content
Operating Systems AIX Command to release a port in AIX Post 302188151 by blowtorch on Tuesday 22nd of April 2008 09:13:30 PM
Old 04-22-2008
There would be a process that is listening on that port. Stopping that would be the first order of business.

It might also be that inetd is listening on that port and will fire up a process as specified in /etc/inetd.conf (does the name stay the same in AIX?).
In that case, find what process it is (usually from /etc/services - again confirm the name for AIX), then hash out the line referring to that process from /etc/inetd.conf. Send SIGHUP to inetd. That should do it.

If there isn't a process listening at all - or rather, there was a process, but it was killed or stopped uncleanly and didn't release the port, then just give it a few minutes. Connections to the port will drop once they timeout.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Release a port

Hi all, Its a gr8 pleasure being a member of this forum. Could anyone help me out re: How u release a port in Unix. Thanks in advance..! aces4u (2 Replies)
Discussion started by: aces4u
2 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

release a port

I'm trying to release a port 7601 I do a netstat -an which is returns *.7601 *.* 0 0 49152 0 LISTEN I assume 49152 is the process running the port. Is this correct? If so, how would I safely terminate the process? thanks (2 Replies)
Discussion started by: orahi001
2 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

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?? 1. netstat -Aan | grep <port... (1 Reply)
Discussion started by: tenderfoot
1 Replies

6. 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

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. IP Networking

Tcp ip port open but no such process (merged: Release A Port)

i want to kill a tcp connection by killing its pid with netstat -an i got the tcp ip connection on port 5914 but when i type ps -a or ps-e there is not such process running on port 5914 is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies

9. 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

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
XTELLD(8)						      System Manager's Manual							 XTELLD(8)

NAME
xtelld - daemon receiving messages from xtell(1) clients SYNOPSIS
xtelld [options] DESCRIPTION
xtelld is daemon receiving messages from the xtell(1) client and displaying them to apropriate user. OPTIONS
--help Short help --alone Force server to run standalone --inetd Force server to act as service of inetd --version Print version information and exit. -sX Lifetime for spawned services (in seconds) ex: -s25 maintain connections for up to 25 seconds -mX Spawn no more than X children services at a time ex: -m15 service no more than 15 requests at once. Note: ignored if inetd service -pX Use port X, default: 4224 -n Do not lookup addresses, use IP numbers instead USAGE
Xtell daemon can run either from inetd(preferred) or from command line. If you decide to start it from inetd, add this line to /etc/ser- vices : xtell 4224/tcp # xtell server and this line to /etc/inetd.conf : xtell stream tcp nowait nobody.tty /usr/sbin/tcpd /usr/local/sbin/xtelld Notice that the entries are separated by tabs, not spaces. Restart inetd with killall -HUP inetd What to do if you are a normal user and want to run xtell daemon: You can't run it from inetd, obviously. Just start ./xtelld to use xtell on default port (4224). In this case, xtell can write messages only to you. If there is another user on that system willing to get messages, either s/he starts xtelld on another port (e.g. ./xtelld -p4225), or makes his/her tty writable by you (e.g. chmod a+rw /dev/tty* /dev/pts/*) AUTHOR
Radovan Garabik (garabik@fmph.uniba.sk) SEE ALSO
xtell(1), write(1), talk(1), talkd(8), tty(1) XTELLD(8)
All times are GMT -4. The time now is 05:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy