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?

  • $\begingroup$ Related or possibly duplicate: mathematica.stackexchange.com/questions/8422/… $\endgroup$ – cormullion Nov 21 '12 at 19:42
  • $\begingroup$ @cormullion: Very drastic solutions. I wonder if there are others (e.g., within Mathematica disabling whatever is requiring incoming connections in the first place). $\endgroup$ – orome Nov 21 '12 at 20:13
  • $\begingroup$ 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. $\endgroup$ – rm -rf Nov 21 '12 at 21:34
  • $\begingroup$ @rm-rf: What about just incoming connections? $\endgroup$ – orome Nov 21 '12 at 21:42
  • $\begingroup$ 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. $\endgroup$ – Oleksandr R. Nov 22 '12 at 2:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.