[IPython-User] how to setup python notebook to run on a local network
Sun Oct 30 13:01:28 CDT 2011
On Sun, Oct 30, 2011 at 10:49 AM, gmail <email@example.com> wrote:
> ipython notebook --pylab=inline --ip='192.168.1.130'
> (where 192.168.1.130 is the local IP for the computer where python is
> in this way i'm able to open the notebook .. but running any command it
> doesn't print any results
You need to also set up the websocket hostname:
ipython notebook --pylab=inline --ip='192.168.1.130'
--ws-hostname="your hostname here"
Where the hostname is the actual way clients will connect to it. It
may be identical to your IP (likely in the case of a 192.168 address)
or it may be an actual public name if the computer is addressable on
the open internet.
Note that if you put your machine on the public internet, you really
should create a password and certificate file to access it over SSL
and with encryption. But if the network is private, just
ipython notebook --pylab inline --ip 192.168.1.130 --ws-hostname 192.168.1.130
More information about the IPython-User