Running an app built using gradio
praveenkl
HOBBYOP

2 years ago

Hi, I have a simple app built using gradio. When I deploy it, I am unable to access it publicly using the domain created by Railway.

For example,

public domain = myapp-production.up.railway.app

I tried http://myapp-production.up.railway.app and http://myapp-production.up.railway.app:7860 but I am unable to connect.

I have an env variable named PORT with value 7860.

Am I missing a step?

Thanks.

2 Replies

2 years ago


praveenkl
HOBBYOP

2 years ago

Thank you for the pointer to docs. Gradio by default starts the app on 127.0.0.1 and port 7860. I need to figure out how to make it use 0.0.0.0 for the host.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...