albertz / background-zmq-ipython

Background ZMQ IPython/Jupyter kernel
BSD 2-Clause "Simplified" License
17 stars 4 forks source link

Do not listen for remote connections by default #12

Closed Dalbasar closed 2 years ago

Dalbasar commented 2 years ago

Introduce the 'allow_remote_connections' argument for the init_ipython_kernel method make listing for remote connections from other machines optional. The default is not allow remote connections to avoid security issues when the feature is not required. On Windows that means that by default the dialog asking the user to set a firewall rule is not shown when initializing the kernel.

Should resolve the issue: https://github.com/albertz/background-zmq-ipython/issues/10