Sponsored Content
Top Forums UNIX for Dummies Questions & Answers What application is using the port Post 302074233 by amit.verma on Monday 22nd of May 2006 02:32:20 AM
Old 05-22-2006
check out the /etc/services and /etc/inetd.conf
files for the possible s/w and their assigned ports...
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

which port to write my server application?

I want to write a server application that would accept HTTP requests from client. The server would be on a machine that has no connection to the INTERNET. The clients that would be posting their HTTP requests would be doing so through webbrowser .Thus it would be sort of intranet application.... (0 Replies)
Discussion started by: rraajjiibb
0 Replies

2. IP Networking

How can I check what port addresses used the application

Hello Mentors! I am a new here in the furom, i hope somebody can understand my problem. Basically we have an application here called unigraphics and being installed per station and the setup is look like this. 1. installed unigraphics UGNX3 version on every station 2. some are installed in... (1 Reply)
Discussion started by: eykyn17
1 Replies

3. Programming

how to write application for 32 com port

Dear Sir, i m going to use NP5610-16 moxa device for multiport serial communication. i m using fedora-core 6 o.s. after installation it will detect serial ports as /dev/ttyr0,/dev/ttyr1...ttyr32. there are total 32 com ports. now i want to write application which monitor all serial ports and... (6 Replies)
Discussion started by: amitpansuria
6 Replies

4. Linux

MQ application port 1414

Hi All, I have two MQ (port) 1414 established (going out) $ netstat -an | grep 1414 tcp 0 0 0.0.0.0:1414 0.0.0.0:* LISTEN tcp 0 0 20.76.1.1:32855 142.8.1.3:1414 ESTABLISHED tcp 0 0... (2 Replies)
Discussion started by: itik
2 Replies

5. Shell Programming and Scripting

command to know the application running of the port

Hi, is there any command to findout that which application is using the particular port. or whether any port is occupied with the specfic process id ? (4 Replies)
Discussion started by: mail2sant
4 Replies

6. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

7. HP-UX

how to check remote server port listening from application.

Hi, I have an application running on HP-UX, from this application I need to findout if the port number. lets say 7890,7891, 7892 are listening on the remote server running on HP-UX. Is there any way of doing it using "system()" function or any other? I noticed that nmap, netcat are not... (0 Replies)
Discussion started by: einsteinBrain
0 Replies

8. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

9. Shell Programming and Scripting

Help Generate new port base on the last port but not in used by other application

Hi Expert, Anybody can figure it out on how to generate new port base on my last port let say my last port var1=124 and increment for new port 125,126 but this new two ports need to look at first if this port is not in used by any service, if the port is in used add 1 to new port and if in used... (6 Replies)
Discussion started by: lxdorney
6 Replies
DebianNet(3pm)						     Linux Programmer's Manual						    DebianNet(3pm)

NAME
DebianNet.pm - create, remove, enable or disable entry in /etc/inetd.conf SYNOPSIS
require DebianNet; DebianNet::add_service($newentry, $group); DebianNet::remove_service($entry); DebianNet::enable_service($service, $pattern); DebianNet::disable_service($service, $pattern); DESCRIPTION
You can use the functions in DebianNet.pm to to add, remove, enable or disable entries in the /etc/inetd.conf file. After the /etc/inetd.conf file has been changed, a SIGHUP signal will be sent to the inetd process to make sure that inetd will use the new /etc/inetd.conf file. The functions can also be used to add entries that are commented out by default. They will be treated like normal entries. That also means that if you already have an entry that is commented out you can't add an entry for the same service without remov- ing the old one first. The DebianNet functions treat entries that are commented out by a single '#' character as entries that have been commented out by a user. It won't change such entries. For shell scripts you can also use the update-inetd command. See update-inetd(8) for further information. VARIABLES
$DebianNet::inetdcf = "FILENAME"; Use FILENAME instead of /etc/inetd.conf (e.g. for testing purposes). $DebianNet::sep = "#<off># "; "#<off># " will be used as the default comment characters. You can use this option to specify different comment characters. This is only necessary if you have to deal with two (or more) services of the same name. $DebianNet::multi = "true"; If you want to disable/remove more than one entry at a time you should use this option. If you try to remove more than one entry at a time without using this option the program will show a warning and asks the user if he want to continue. $DebianNet::verbose = "true"; Explain what is being done. FUNCTIONS
DebianNet::add_service($newentry, $group); Add $newentry to the group $group of the /etc/inetd.conf file. If the entry already exist it will be enabled (it will also detect entries with different program options). Using $group is optional (the default group is the group OTHER). If the group does not exist the entry will be placed at the end of the file. DebianNet::remove_service($entry); Remove $entry from /etc/inetd.conf . You can use a regular expression to remove the entry. DebianNet::enable_service($service, $pattern); Enable $service (e.g. "ftp") in /etc/inetd.conf . Using $pattern is optional. It can be used to select a service. You only need this option if you have two (or more) services of the same name. An example: you have three ftp entries in the /etc/inetd.conf file (all disabled by default) and you want to enable the entry which uses the wu-ftpd daemon. To do this, use the pattern "wu-ftpd" (or any other regular expression that matches this entry). DebianNet::disable_service($service, $pattern); Disable SERVICE (e.g. "ftp") in /etc/inetd.conf . Using $pattern is optional (see above). AUTHORS
Peter Tobias, <tobias@et-inf.fho-emden.de> Ian Jackson <iwj10@cus.cam.ac.uk> Linux 21 September 1995 DebianNet(3pm)
All times are GMT -4. The time now is 08:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy