Trying to run Jupyter with apache2 --- problems

Followed the instructions here:

https://www.linode.com/docs/guides/install-a-jupyter-notebook-server-on-a-linode-behind-an-apache-reverse-proxy/

And they don't work. I'm wondering if this is because in the step
"Configure Apache Reverse Proxy", proxy_https is reported as not found. (Which is correct, it's not one of the available options).

The jupyter notebook appears to run just fine, and it says it is available on https:/localhost:8888/jupyter. But when I try it by hitting the IP address of the machine in the browser from another machine, nothing!

Any ideas how to fix this?

1 Reply

Linode Staff

I located your Linode and its public IP. From what I could see from an nmap scan, that port is being blocked by a firewall. I included the output below, changing the IP address and rDNS that was present in the output, as you didn't post it publicly here:

$ nmap -sV 12.34.567.89 -p 8888 --reason
Starting Nmap 7.91 ( https://nmap.org ) at 2020-11-19 15:49 EST
Nmap scan report for li1234-56.members.linode.com (12.34.567.89)
Host is up, received syn-ack (0.078s latency).

PORT     STATE    SERVICE        REASON      VERSION
8888/tcp filtered sun-answerbook no-response

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 1.42 seconds

We have some guides on various firewall services and iptables on our website that should help you clear this up, depending on what firewall service you're using. If you want to use iptables, you can use:

iptables -A INPUT 1 -i eth0 -p tcp --dport 8888 -j ACCEPT

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct