Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

OSError: Address 'http://127.0.0.1:8050' already in use. when using in Jupyter notebook #119

Description

@anastazie

Hello,
When I run code cell second time in the notebook, I am getting OSError: Address 'http://127.0.0.1:8050' already in use. The only thing that helps is restarting kernel.
Is this an expected behaviour? If so, it makes it hard to use jupyter-dash to develop app.

jupyter-dash 0.4.2
Ubuntu 22.04

Example script

from dash import dcc, html
from jupyter_dash import JupyterDash as Dash
app = Dash(__name__)
app.layout = html.Div([
    html.Div(children='Hello World')
])
app.run_server(debug=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions