Hello Team,
I am trying to deploy an app to 80 on a VM instance, Ubuntu.
I am running the command
streamlit run app.py --server.port 80
The server gets started please see below screenshot -
However, when I open the link on the browser, I get 404 - please see the screenshot
I checked for the streamlit service and it seems to be running -
Here are the list of open ports for the vm.
Please let me know if I am missing something.
Thanks
1 Like
That is curious. It’s not a 401 or 403 as though it were forbidden.
I suspect it could be that windows uses port 80 by default but ubuntu uses port 22, and port 80 isn’t open to traffic even though you can scan the IP because the streamlit server is being pinged, so your webpage (as a client) can’t see it.
Following this answer you could try running
streamlit run app.py --server.port 22
example:
I build 1.py and 2.py in a same desktop.
If I want to run 1.py and 2.py together, how can I use different port to run 1.py and 2.py in a same explorer at the same time?
Thank you.
Thank you for your response, I am able to telnet to machine on port 80.
telnet 103.19.91.136 80
Trying 103.19.91.136...
Connected to 103.19.91.136.
Escape character is '^]'.
system
Closed
July 17, 2024, 5:20am
4
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.