I found a page describing exactly the problem I had. here the page: Getting output with IPython Notebook
I actually have Sophos, but I have no control over it, and the solution that works so far was to start IPython with:
ipython notebook --ip=localhost
It also works by editing the line in configuration file c.NotebookApp.ip = 'localhost'