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.
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.
Who scans port 8888
Every address that scanned port 8888 from 28 October to 27 November 2026, with known scanners left out.
- AS14061DigitalOcean, LLC 4.001
- AS7922Comcast Cable Communications, LLC 3.076
- AS45102Alibaba (US) Technology Co., Ltd. 2.803
- AS212238Datacamp Limited 1.523
- AS16509Amazon.com, Inc. 1.459
- AS7018AT&T Enterprises, LLC 1.401
- AS701Verizon Business 1.394
- AS8075Microsoft Corporation 1.310
- AS3215Orange S.A. 1.015
- AS5089Virgin Media Limited 991
- United States of America 25.345
- United Kingdom 5.668
- France 3.924
- Canada 3.872
- India 2.538
- Germany 2.482
- People's Republic of China 1.849
- Netherlands 1.695
- Singapore 1.663
- Brazil 1.499
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.
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.
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.