I installed Jupyter in a virtual environment on the server using:
pip install jupyterlab
And configured it as follows:
c.LabApp.ip = ''
c.LabApp.password = u'sha1:*******' # not shown here
c.LabApp.open_browser = False
c.LabApp.port = 8890
c.LabApp.allow_remote_access = True
Then I established an SSH tunnel to access it locally via port 8890:
ssh -L 8890:localhost:8890 your_username@your_server_ip
However, when I enter http://localhost:8890/lab
in the browser, it shows “invalid HTTP response.” How can I fix the issue? Thanks for your help!