# Kaggle can't connect to local Dash app running on http://127.0.0.1:8050/

**URL:** <https://discourse.jupyter.org/t/kaggle-cant-connect-to-local-dash-app-running-on-http-127-0-0-1-8050/29408>\
**Category:** General\
**Tags:** help-wanted\
**Created:** [October 21, 2024, 11:43am UTC](https://discourse.jupyter.org/t/kaggle-cant-connect-to-local-dash-app-running-on-http-127-0-0-1-8050/29408 "2024-10-21T11:43:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theakson](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@theakson](https://discourse.jupyter.org/u/theakson)\
**Post date:** [October 21, 2024, 11:43am UTC](https://discourse.jupyter.org/t/kaggle-cant-connect-to-local-dash-app-running-on-http-127-0-0-1-8050/29408/1 "2024-10-21T11:43:22Z")

</div>

I’m not sure if this is a reasonable place to post this but it’s related to jupyter I think? As the subject says I am running the cell below, it claims it’s running a webpage on 8050 but it isn’t. Anyone know how to fix this please?

```auto

`Linux deepthought 5.15.0-122-generic #132-Ubuntu SMP Thu Aug 29 13:45:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux`

```

running code below in a kaggle notebook on linux mint ( ufw disabled) vpn turned off ( just in case),

**it says it’s running but** there’s no output from `lsof -i :8050` so nothing is currently listening on port 8050.

firewall is off

sudo ufw status Status: inactive

all the iptables are open

```auto
sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination         

Chain FORWARD (policy ACCEPT)
target prot opt source destination         

Chain OUTPUT (policy ACCEPT)
target prot opt source destination     

```

here’s the cell from kaggle

```auto
import pandas as pd
import vizro.models as vm
import vizro.plotly.express as px
from vizro import Vizro
from vizro.tables import dash_ag_grid

# Load the data from the CSV file
df = pd.read_csv('/kaggle/input/test_data.csv')

page = vm.Page(
    title="Testing vizro dash ag grid ",
    components=[
        vm.AgGrid(
            title="Test ag grid",
            figure=dash_ag_grid(
                data_frame=df
            )
        ),
    ],
    controls=[vm.Filter(column="Symbol")],
)

dashboard = vm.Dashboard(pages=[page])

Vizro().build(dashboard).run(jupyter_mode="external")

# Vizro().build(dashboard).run(jupyter_mode="tab") # https://vizro.readthedocs.io/en/stable/pages/user-guides/run/#jupyter

# Vizro().build(dashboard).run(debug=False)

```

### How to Reproduce

set up a kaggle notebook  
use kaggle package manager to `pip install vizro`  
run the cell

### Output

running the cell I get

`Dash app running on http://127.0.0.1:8050/`

but either running tab or external I get
