How to allow port 2195 for Apple Push Notification in CentOS with WHM/cPanel?
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.
-
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. 0 -
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?0 -
iptables -L -n | grep 2195
netstat -l -n | grep 21950
Please sign in to leave a comment.
Comments
4 comments