abalter
abalter

Reputation: 10393

Viewing http over ports other than 80 or 443

I'm using jupyter notebooks on a remote server. I can start the notebook on a particular port such as 8000. I would have thought I would be able to see the notebook at server:8000, but I get a "can't connect" error.

However, if I start an ssh tunnel ssh -L 8000:localhost:8000 server, then I can see the notebook at localhost:8000.

So why can't I use the url and port? What kind of setting would allow me to do so?

Upvotes: 0

Views: 269

Answers (1)

berg
berg

Reputation: 28

It sounds like "server" is behind a firewall that is not allowing incoming traffic on port 8000. SSH traffic (port 22) is likely allowed, so that is why you're having to tunnel in. I think it's more of a networking question than a jupyter-notebook question.

Upvotes: 1

Related Questions