How to find list of userdefined ports in aix


 
Thread Tools Search this Thread
Operating Systems AIX How to find list of userdefined ports in aix
# 1  
Old 05-08-2008
How to find list of userdefined ports in aix

I want to know list of userdefined ports available in aix .Suppose I want to run a process at port 20 .using netstat i could able to find out that no process is listening at that 20 .Still I am not able to bring my process up at port 20.

Thanks
kittu
# 2  
Old 05-08-2008
Hi,
Ports below 1024 are the so-called 'well-known ports' and you need privileges to run any process using port below 1024 assuming they're not already used by some others prog/daemons ... look at /etc/services for further details
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Need to find conflict in ports

Hi forum, I've run into a problem here and I can't seem to figure it out. OS=Solaris 10 u11 SPARC. This application (running on a local zone) was having a conflict with a port and I can't seem to find that port listed. (eg 41468) I've tried netstat -an|grep 41468 I am pretty sure this... (2 Replies)
Discussion started by: br1an
2 Replies

2. UNIX for Dummies Questions & Answers

How do i list running process with the ports they are using?

How do i list the running process and also view the ports they are listening to at the same time? (3 Replies)
Discussion started by: mena
3 Replies

3. Shell Programming and Scripting

Script to Monitor List of Ports

Hi, I'm in need of a script that can monitor a list of 12 ports.. If one of the ports isn't in listening mode then email me.. The list of ports are 26401 - 26412.. (6 Replies)
Discussion started by: eclipseagent
6 Replies

4. AIX

locking down unused or unwanted ports in AIX

We have a system and we have modified the /etc/ind.conf and the /etc/services and the /etc/rc.tcpip file to turn off specific applications. I need to know what is the correct procedure for locking down unused ports that still appear to be in a listen mode even... (1 Reply)
Discussion started by: admaix
1 Replies

5. Solaris

List of Ports being used.

Hi, I have 2 queries: a) Is it possible that a port no., not defined in /etc/services, be used by an application. b) how do i find the list of ports is being currently used on my Solaris box(if entry not made into /etc/services) I donot have "lsof" installed on my box. (3 Replies)
Discussion started by: EmbedUX
3 Replies

6. Programming

shared memory - userdefined data structures

Hello, I wonder if I can write my userdefined data structures(ex: a list) to a shared memory segment? I know, the shm functions get (void*) parameter so I should be able to read and write a list into the shared memory. may someone inform and clarify me about that, please? (1 Reply)
Discussion started by: xyzt
1 Replies

7. Solaris

List TCP ports with process

Hello, One of our developers is asking for a command/script in Solaris similar to "netstat -anp" in Linux. He gave this output as an example: root@xxx:~# netstat -anp | grep LISTEN tcp 0 0 0.0.0.0:7937 0.0.0.0:* LISTEN 16082/nsrexecd tcp 0 ... (7 Replies)
Discussion started by: vimes
7 Replies

8. UNIX for Dummies Questions & Answers

get the list of open ports in unix?

Hi, what is the unix command to get the list of all open ports in unix? Thank you in advance (1 Reply)
Discussion started by: zainab
1 Replies

9. UNIX for Dummies Questions & Answers

list all ports and their relative IP@ if any

Hi all i'm working on a LINUX-based platform. i'm little confused with PORTs. i have my platform connected to many other platforms, i need to know the relative port for each IP@. i know the IP of each connected platform to mine, but i'm not sure about the relative PORT for each platform...... (4 Replies)
Discussion started by: samsal_991
4 Replies

10. Programming

how to find usb ports programmatically

I need to find out where a usb flash memory drive is mounted. I have used prtconf and iostat to find the information and then used popen to parse the information to find what i need. I am wondering if there are some generic functions such as ddi_ or usb_ that i can use to find such info. I would... (1 Reply)
Discussion started by: jtcoelho
1 Replies
Login or Register to Ask a Question