I managed to fix the error and get access to my notebook remotely (without ssh tunnelling) by editing the config file at ~/.jupyter/jupyter_notebook_config.py
with the following changes:
- uncomment and set
c.NotebookApp.ip = '0.0.0.0'
- uncomment and set
c.NotebookApp.allow_remote_access = '*'