Skip to main content

developerWorks >  AIX and UNIX  >  Forums  >  AIX Networking  >  developerWorks

how to enable/disable port numbers in AIX box    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 1 - Pages: 1 - Last Post: Nov 1, 2009 7:53 PM Last Post By: pfarrell Threads: [ Previous | Next ]
77777

Posts: 1
Registered: Oct 30, 2009 03:29:55 AM
how to enable/disable port numbers in AIX box
Posted: Oct 30, 2009 03:32:43 AM
 
Click to report abuse...   Click to reply to this thread Reply
dear all,

i need to check whether the port 1581 is enabled in aix server if disabled need to enable it help me out for the same.

Thanks
krish
pfarrell

Posts: 26
Registered: Sep 27, 2005 11:36:17 PM
Re: how to enable/disable port numbers in AIX box
Posted: Nov 01, 2009 07:53:06 PM   in response to: 77777 in response to: 77777's post
 
Click to report abuse...   Click to reply to this thread Reply
I assume that you have some program that you want to run which uses this port.
It would appear that this port number is associated with a military communications protocol. If we check /etc/services we see
nimserver# grep 1581 /etc/services
mil-2045-47001  1581/tcp                # MIL-2045-47001
mil-2045-47001  1581/udp                # MIL-2045-47001

It is not disabled because it is not commented out (# mark). However, if we check to see anything is attached to it
nimserver# netstat -an|grep 1581
nimserver#

there is no program using this port on my system. If the state of the port is LISTEN or ESTABLISHED, a program is attached to the port and you will need to find out what this is. You can use the lsof command to discover this. This command is downloadable from

http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums