Running Streamlit app on Redhat Linux Enterprise

I am trying to deploy a streamlit app on Red hat linux machine.The app runs fine on windows machine. But when I run it on Linux machine and curl give me this message [root@innolx56216 ~]# curl http://10.184.56.216:8501
“”“<!doctype html>StreamlitYou need to enable JavaScript to run this app.

[root@innolx56216 ~]#”“”"

Any help is appreciated.

1 Like

What does curl give you when you run the app in Windows?

1 Like

1 Like

Isn’t that quite the same as you get with Red Hat? What is the actual problem and how does it relates to curl? You don’t need curl to run a streamlit application.

Yes the output of curl is same. I am trying run the same app on Linux VM. However there is no error when I try to run streamlit app even on linux by logger_level=error. The port is open on linux VM. I am not sure what is the issue. The log in debug mode for streamlit app is as follows:
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.

You can now view your Streamlit app in your browser.

Network URL: http://10.184.56.216:8502
External URL: http://125.21.249.74:8502

A new version of Streamlit is available.

See what’s new at 📣 Official Announcements - Streamlit

Enter the following command to upgrade:
$ pip install streamlit --upgrade

What makes you think there is an issue at all?

1 Like

because I am not able to access the streamlit app from another machine

1 Like

That is not a very detailed description of what you are doing and what happens when you do it.

1 Like

Hi Goyo,
Thanks for the quick response. Let me try to explain you. I have developed a streamlit app locally and it works fine. Now I am trying to run the same app on a remote server which has os as red hat linux. When I do stremlit run UI.py it gives the following as an output:

You can now view your Streamlit app in your browser.

Network URL: http://10.184.56.216:8502
External URL: http://14.143.254.10:8502

When I open the external URL in browser, the app is not reachable. The output is:

To introspect the issue I have checked whether the port is open or not on the VM.

1 Like

This is a network issue. Unfortunately I can’t help you with that. If you are in a corporate or institutional network, you may need help from a network admin.

1 Like

Thanks :slight_smile:

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.