Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Cannot render app when in remote Jupyter Lab #29

Closed
chrothenbach opened this issue Jul 29, 2020 · 1 comment
Closed

Cannot render app when in remote Jupyter Lab #29

chrothenbach opened this issue Jul 29, 2020 · 1 comment

Comments

@chrothenbach
Copy link

I am running JupyterLab on a remote server, and accessing it via the browser on my machine. When I try to run a JupyterDash app, I get the following error:

OSError: Address 'http://127.0.0.1:8050' already in use.
    Try passing a different port to run_server.

I tried passing different ports (unused ones) and still could not get it to run in inline or external modes.

@chrothenbach
Copy link
Author

But wait, i think I figured it out. I changed the arguments in app.run_server():

app.run_server(mode='inline', host='host_name', port = 8066 )

I guess it explicitly needed the host name or IP. I'm closing this myself, but would be good to provide that info in the readme.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant