How to allow port 2195 for Apple Push Notification in CentOS with WHM/cPanel?

Operating System & Version
centOS 7.9
cPanel & WHM Version
cPanel & WHM v104.0.7 (STANDARD)

CharlesGLondon

Active Member
Jan 30, 2019
43
5
8
London
cPanel Access Level
Website Owner
I want to allow port 2195 for Apple PN. I've tried running various commands and running more commands to test it but I can't figure out if it is added or enabled.
I've WHM/cPanel with centOS 7.9. I've added port 2195 in CSF Home / Plugins / ConfigServer Security & Firewall, TCP_IN and TCP_OUT
Does anyone know for sure how to permanently enabled 2195 for Apple PN and test it if it's working?

P.S. iptables will not work in centOS 7, firewalld is what works.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,667
1,853
363
cPanel Access Level
Root Administrator
Hey there! If you've added it to CSF then that's all you need to do. Unless a service is actively listening on that port, such as how Apache is always up and running and listening on ports 80 and 443, you may not see that port active on the command line even though it is open in the firewall.
 

CharlesGLondon

Active Member
Jan 30, 2019
43
5
8
London
cPanel Access Level
Website Owner
Hey there! If you've added it to CSF then that's all you need to do. Unless a service is actively listening on that port, such as how Apache is always up and running and listening on ports 80 and 443, you may not see that port active on the command line even though it is open in the firewall.
Yes, that's what I thought but I always end up getting error when testing Apple PN. How do I test if this port 2195 is enabled from command line?
 

ejsolutions

Well-Known Member
Jan 6, 2013
77
32
68
cPanel Access Level
Root Administrator
  • Like
Reactions: cPRex