Linux Services Port Numbers

– Linux services quick help sheet.
SR
No.
Service
Daemon
Protocol
Port Number
Configuration File
1.
NFS
nfsd
rpcgssd
nfs
2049
/etc/exports
2.
FTP
vsftpd
ftp
20
/etc/vsftpd/vsftpd.conf
21
3.
HTTP / Apache
httpd
http
80, 8080
/etc/httpd/conf/httpd.conf
4.
Samba
smb
nmb
smb
445
901 (SWAT)
/etc/samba/smb.conf
5.
DNS
named
dns
53
/etc/named.conf
6.
DHCP
dhcpd
Dhcp
67 (Server)
68 (Client)
/etc/dhcp/dhcpd.conf
7.
Mail Server
(SendMail )
sendmail
IMAPs
143 (IMAP)
220 (IMAP3)
110 (POP3)
995 (POP3s)
/etc/mail/sendmail.cf
8.
Proxy Server / SQUID
squid
squid
3128
/etc/squid/squid.conf
9.
Kickstart
NA
It can use
NFS/
FTP/
HTTP/
HTTPS
2049
20/21/
80/
443
/root/anaconda-ks.cfg
10.
NIS
yppasswdd
ypserv
ypxfrd
nfs
autofs
2049
/etc/yp.conf
/etc/ypserv.conf
13.
SSH
sshd
ssh
22
/etc/ssh/sshd_config
14.
Telnet
telnet
telnet
23
/etc/xinetd.d/telnet
15.
RAID
mdadm
NA
NA
/etc/mdadm.conf
16.
NTP
ntpd
ntp
123
/etc/ntp.conf
17.
SNMPD
snmpd
snmptrapd
snmp
161
 
/
162
/etc/snmp/snmpd.conf
/etc/snmp/snmptrapd.conf
18.
Syslog
rsyslog
syslog
514
/etc/rsyslog.conf
19.
CUPS
cups
cups
631
/etc/cups/cupsd.conf
20.
SQUID
squid
Squid
3128
/etc/squid/squid.conf
21.
Atd
atd
NA
NA
NA
22.
anacron
NA
NA
NA
/etc/anacrontab
23.
auditd
NA
NA
/etc/audit/auditd.conf
24.
Crond
crond
NA
NA
/etc/crontab
25.
Kdump
kdump
NA
NA
/etc/kdump.conf
26.
Dovecot
dovecot
IMAP
POP3
143
110
/etc/dovecot/dovecot.conf
27.
Firewall / iptables
iptables
NA
NA
/etc/sysconfig/iptables
/etc/sysconfig/iptables-config
30.
Multipath
multipathd
/etc/multipath.conf
31.
MySQL
mysqld
NA
NA
/etc/my.cnf
32.
Postfix
postfix
smtp
25
/etc/postfix/master.cf
33.
PostgreSQL
postgresql
NA
NA
/var/lib/postgres/data/postgresql.conf
34.
rhnsd
rhnsd
It uses
80(HTTP)
443(HTTPs)
/etc/sysconfig/rhn/rhnsd
35.
Xinetd
xinetd
NA
NA
/etc/xinetd.conf
36.
Linux Cluster
37.
SAR  
sysstat
sysstat
NA
NA
/etc/sysconfig/sysstat
38.
abrtd
abrtd
NA
NA
/etc/abrt/abrt.conf


————————————————————————————————————————————————–
We request and encourage you to leave a comment or share if you have more information / examples so as to keep this blog more informative, to benefit everyone of us.
————————————————————————————————————————————————–

Leave a Reply

Your email address will not be published. Required fields are marked *