Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using an iMac at work, and the IT security guys are raising issue with the Apple Push Notification Service (apsd) trying to bypass the proxy continually.

I would like to know how I can disable apsd from running.

share|improve this question
I know that apsd uses port 5223, so I was thinking I could just close that port, but not sure if this would work or if it would just assign another port to the service... – novicePrgrmr May 24 '13 at 9:20
up vote 13 down vote accepted

I figured out that I needed to enter the following in the terminal:

sudo launchctl unload -w /System/Library/LaunchDaemons/

I did this already, and it seemed to fix the issue, but would love to know if this is the advisable way to solve the problem.


Also, in case you want to enable the process afterwards, you can use this:

sudo launchctl load -w /System/Library/LaunchDaemons/


share|improve this answer

As mentioned by Fabrice, Little Snitch is a means to solve this problem. It doesn't answer the OP's actual question (which is how to disable apsd from running), but it can solve the sort of problem, albeit in a bandaid way, that the OP has.

With LS in place it's one button click solution to never hear from apsd again...

share|improve this answer

sudo launchctl unload -w /System/Library/LaunchDaemons/

For 10.7.5 FYI. The service name is expanded.

share|improve this answer
sudo launchctl unload -w /System/Library/LaunchDaemons/

this will completely stop apsd as your background service. Similar in linux, for those process that are running in /etc/inittab

share|improve this answer

Another solution would be to use Little Snitch and to block apsd from there.

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.