Mathematica Stack Exchange is a question and answer site for users of Mathematica. 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 understand that JLink loads each time Mathematica launches or each time a kernel starts, and that this can require permission from the firewall, if it is enabled

enter image description here

but OS X provides settings the provide this permission by default, so that I don't have to provide it each time Mathematica starts (a process that seems to cause delays and even crashes Mathematica in some cases). However, even if I give this permission, I still get asked for it again, each time.

enter image description here

Mathematica is is the only application on my system that does this. Why? Is there some way to configure Mathematica so that it behaves as it should; or is this a bug? What does Mathematica need "incoming network connections" for anyway? Can turn off the need for them in Mathematica somewhere?

share|improve this question
Related or possibly duplicate:… – cormullion Nov 21 '12 at 19:42
@cormullion: Very drastic solutions. I wonder if there are others (e.g., within Mathematica disabling whatever is requiring incoming connections in the first place). – raxacoricofallapatorius Nov 21 '12 at 20:13
You can block all access to the internet from within mma by setting $AllowInternet (or PacletManager`$AllowInternet if not loaded) to False. However, you won't be able to use the curated data, W|A, free form input, etc. – R. M. Nov 21 '12 at 21:34
@rm-rf: What about just incoming connections? – raxacoricofallapatorius Nov 21 '12 at 21:42
Mathematica is made up of several MathLink programs: the kernel, the front end, J/Link, the subkernels, whatever else you install... and clearly for each outgoing connection the partner program needs to accept an incoming one. As to what these messages mean and how to stop them, I don't know... I don't use a Mac. However, you should definitely check what subnets you are allowing connections from. Letting anyone on the Internet connect to you would not be a good idea. – Oleksandr R. Nov 22 '12 at 2:37

Your Answer


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

Browse other questions tagged or ask your own question.