Skip to main content

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

Comments

4 comments

  • cPRex Jurassic Moderator
    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
  • CharlesGLondon
    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
  • ejsolutions
    iptables -L -n | grep 2195
    netstat -l -n | grep 2195
    0
  • ejsolutions
    BTW:
    P.S. iptables will not work in centOS 7, firewalld is what works.

    Incorrect: it is the other way around and has been for years. It is a documented prerequisite that firewalld be disabled prior to installing WHM/cPanel.
    0

Please sign in to leave a comment.