05-08-2002
also check the /etc/services file.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
On HP-UX 11 how do I get the port number of an active ftp connection? (2 Replies)
Discussion started by: mbb
2 Replies
2. UNIX for Dummies Questions & Answers
Hi expert,
I wanted to know in which port my apache is running in solaris box
thanks
Shaan (1 Reply)
Discussion started by: shaan_dmp
1 Replies
3. UNIX for Dummies Questions & Answers
hi all
i want to connect a system,
how can i know the port number of a system. (2 Replies)
Discussion started by: tukuna82
2 Replies
4. Solaris
Hi all ,
I want know the port no on which a particular application is running.
How to find that?
Thanks in anticipation (11 Replies)
Discussion started by: kumarmani
11 Replies
5. IP Networking
Hi all,
Application A is using an port number 100 and is binded to an interface 1.
Application B is using an port number 100 and is binded to an interface 2.
can we bind the two applications on same port number based on interfaces.
what i want to know is two... (3 Replies)
Discussion started by: vijaypdp2006
3 Replies
6. Shell Programming and Scripting
~]#netstat -vatn | grep LISTEN
tcp 0 0 0.0.0.0:34895 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN ... (7 Replies)
Discussion started by: linuxadmin
7 Replies
7. UNIX for Advanced & Expert Users
In which file inside the application code we can find the list of port numbers that the application is entitled to listen? (4 Replies)
Discussion started by: p_gautham12
4 Replies
8. Shell Programming and Scripting
Hi my code is as follow:
stringA=`cat /s01/oracle/11.2/network/admin/listener.ora | grep "PORT"`
stringB=`cat $ORACLE_HOME/network/admin/listener.ora | grep "PORT"`
stringC="PORT"
echo ${stringA}
echo ${stringB}
echo ${stringC}
position=`expr index "$stringB" "stringC"`
echo... (2 Replies)
Discussion started by: jediwannabe
2 Replies
9. Solaris
Hi All,
How to get the list of port numbers and it is correspoding proceses id that are currently running on. Please suggest and it is urgent
Thanks. (7 Replies)
Discussion started by: rbalaj16
7 Replies
10. Solaris
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
LEARN ABOUT FREEBSD
services
SERVICES(5) BSD File Formats Manual SERVICES(5)
NAME
services -- service name data base
DESCRIPTION
The services file contains information regarding the known services available in the Internet. For each service a single line should be
present with the following information:
official service name
port number
protocol name
aliases
Items are separated by any number of blanks and/or tab characters. The port number and protocol name are considered a single item; a ``/''
is used to separate the port and protocol (e.g. ``512/tcp''). A ``#'' indicates the beginning of a comment; subsequent characters up to the
end of the line are not interpreted by the routines which search the file.
Service names may contain any printable character other than a field delimiter, newline, or comment character.
If ``db'' is specified as source in the nsswitch.conf(5), /var/db/services.db is searched. The database in /var/db/services.db needs to be
updated with services_mkdb(8) after changes to the services file have been applied.
NIS INTERACTION
Access to the NIS services.byname map can be enabled by adding a single ``+'' on a line by itself in the /etc/services file. This causes the
contents of the NIS services map to be inserted at the location where the ``+'' appears.
FILES
/etc/services The services file resides in /etc.
SEE ALSO
getservent(3), nsswitch.conf(5), services_mkdb(8)
HISTORY
The services file format appeared in 4.2BSD.
BUGS
A name server should be used instead of a static file.
BSD
April 4, 2010 BSD