HT202657: OS X Server (Mountain Lion): Advanced configuration of the Caching service

Learn about OS X Server (Mountain Lion): Advanced configuration of the Caching service
dkilburn2

Q: Caching Service Requirements

I'm trying to find out what ports or communication protocols are required for this to work.  We currently block peer to peer traffic on our guest wireless but want to implement a caching server because we have over 2000 ipads.  If peer to peer is not required, are there specific ports that are required to be unblocked?

Mac Pro, OS X El Capitan (10.11.3)

Posted on Jan 29, 2016 7:03 AM

Close

Q: Caching Service Requirements

  • All replies
  • Helpful answers

  • by More Broccoli Please,

    More Broccoli Please More Broccoli Please Jan 29, 2016 7:40 AM in response to dkilburn2
    Level 1 (19 points)
    Jan 29, 2016 7:40 AM in response to dkilburn2

    The caching server needs to be able to establish outbound connections to various Apple servers via ports 80 (http) and 443 (https).  It also needs to be able to receive push notifications; the ports needed for that are documented at <https://support.apple.com/en-us/HT203609>.  To receive requests from clients and peers it usually listens on a port chosen at random, but you can force it to listen on a particular port by, e.g.,:

    $ sudo serveradmin settings caching:Port = 12345

    and then stopping and starting the caching service.  It may take clients and peers an hour or so to react to this change.