thobarn

Well-Known Member
Apr 25, 2008
152
1
68
sanctum sanctorum
Please could someone please list the default TCP/UDP incoming/outgoing ports and the services that use those ports on a freshly installed Cpanel/WHM? Many thanks.
 

thobarn

Well-Known Member
Apr 25, 2008
152
1
68
sanctum sanctorum
Many thanks for your answers. Exactly what I was looking for.

Appropriately embarrassed seeing the FAQ for the question I asked :eek:. I will cross-reference those two sources and post a follow up here for future reference to compensate.

Thanks again for your time and help.
 

thobarn

Well-Known Member
Apr 25, 2008
152
1
68
sanctum sanctorum
As promised

Below are the default ports, protocols, and the direction they are open on a WHM/CPanel installation. This is on a fresh installation of WHM/CPanel hosted on CentOS VPS with my hosting provider. Yours may differ depending on OS, hosting company, hosting package, WHM/CPanel version, installed programs, services running ect. Any corrections, additions are most welcome.

Something like 20 TCP/UDP I/O-I/O means: Port 20 should be open both in inward and outward directions for both protocols TCP and UDP.
Code:
[SIZE="2"][b]PORT	PROTOCOL	OPEN	SERVICE	NOTES[/b]
20	TCP-UDP	I/O-I/O	FTP	File transfers (data port)
21	TCP-UDP	I/O-I/O	FTP	File transfers (control port)
22	TCP	I/O	SSH	ssh, scp copy, sftp
25	TCP	I/O	SMTP	Outgoing email
37	TCP	O	rdate	Network time
43	TCP	O	WHOIS	Domain lookup
53	TCP-UDP	I/O-I/O	DNS	Inbound is only needed if you run public DNS server
80	TCP	I/O	HTTP	Web server
110	TCP	I/O	POP3	Incoming email
113	TCP-UDP	O-O	Ident	Client identification
123	UDP	O	NTP	Network time
143	TCP	I	IMAP4	Incoming email
443	TCP	I/O	HTTPS	Web server SSL
465	TCP	I	SMTP 	Outgoing email SSL/TLS
587	TCP	I/O	SMTP	Outgoing email
873	TCP-UDP	O-O	rsync	File, directory sync	
993	TCP	I	IMAP4 	Incoming email SSL
995	TCP	I	POP3	Incoming email SSL
2077	TCP	I	WebDAV	Distributed authoring
2078	TCP	I	WebDAV	Distributed authoring SSL
2082	TCP	I	CPanel	CPanel control panel
2083	TCP	I	CPanel	CPanel control panel SSL
2086	TCP	I	WHM	WHM control panel
2087	TCP	I	WHM	WHM control panel SSL
2089	TCP	O		CPanel licensing
2095	TCP	I	Webmail	Web based email	
2096	TCP	I	Webmail	Web based email SSL
2703	TCP	O		Razor email scanning
3306	TCP	I	MySQL	Out only if you need to connect remotely
4643	TCP	I		Virtuozzo control panel
6277	UDP	O		SpamAssassin
6666	TCP	I	Chat	CPanel built in Java chat[/SIZE]
This info is put together from the following resources, all errors/omissions are mine:
http://faq.cpanel.net/show.cgi?qa=104689180407630
http://www.mysql-apache-php.com/ports.htm
CPanel forums
Wikipedia
Google
 
Last edited: