Skip to main content

Port 8888

Port 8888 Jupyter notebooks

Jupyter notebooks listen on port 8888. A notebook without a password lets anyone who finds it run code on the machine.

The service

What is port 8888 used for?

Port 8888 is the default port of Jupyter Notebook and JupyterLab, the browser based environments data scientists use to write and run code. Several web proxies and development tools also use 8888.

A notebook server runs code and opens terminals as the user who started it, often on machines with GPUs and cloud credentials.

Why attackers want it

An exposed notebook without a token or password is a remote shell. Attackers start cryptocurrency miners on the GPUs, read the cloud keys and data on the machine, and use it to move further into the network.

The last 31 days

Who scans port 8888

Every address that scanned port 8888 from 28 October to 27 November 2026, with known scanners left out.

Port 8888 Jupyter notebooks
Analyze
Observation window
First day28 Oct
Last day27 Nov
Known scanners left out10,7%
65.597Sources
2.613.062Connections
7.720Known scanners
31/31Active days
Sources per dayPeak 6.977 · 30 Oct
Top source networksSources
  1. AS14061DigitalOcean, LLC 4.001
  2. AS7922Comcast Cable Communications, LLC 3.076
  3. AS45102Alibaba (US) Technology Co., Ltd. 2.803
  4. AS212238Datacamp Limited 1.523
  5. AS16509Amazon.com, Inc. 1.459
  6. AS7018AT&T Enterprises, LLC 1.401
  7. AS701Verizon Business 1.394
  8. AS8075Microsoft Corporation 1.310
  9. AS3215Orange S.A. 1.015
  10. AS5089Virgin Media Limited 991
Top source countriesSources
  1. United States of America 25.345
  2. United Kingdom 5.668
  3. France 3.924
  4. Canada 3.872
  5. India 2.538
  6. Germany 2.482
  7. People's Republic of China 1.849
  8. Netherlands 1.695
  9. Singapore 1.663
  10. Brazil 1.499
The verdict

Should port 8888 be open?

Port 8888 should never be reachable from the internet. Reach notebooks through an SSH tunnel or a VPN, and never turn off the token or password.

Close it at the edge

Drop inbound TCP 8888 on every firewall and cloud security group, and bind Jupyter to localhost.

Tunnel to it

Open the notebook through an SSH tunnel or a VPN, or run a shared hub behind proper sign in.

Keep authentication on

Never start Jupyter with an empty token or password, and keep secrets out of notebooks.

Questions

Port 8888 questions

What is port 8888 used for?

Port 8888 is the default port of Jupyter Notebook and JupyterLab. Some web proxies and development servers use it too.

Is it safe to expose Jupyter on port 8888?

No. A notebook can run any code and open a terminal, so an exposed one without strong sign in hands the machine to whoever finds it.

What do attackers do with an open Jupyter notebook?

They run cryptocurrency miners on its GPUs, copy cloud keys and data from the machine, and use it as a foothold in the network.

How do I block port 8888?

Drop inbound TCP 8888 on your firewall and reach notebooks through a tunnel or VPN. An IP blocklist of active scanners stops the sources that look for them.

Port 8888

Block the sources that scan port 8888.

An hourly IP feed of active scanners keeps them away from this port and everything else you run.