Getting 404 error when running streamline app

Hello Team,

I am trying to deploy an app to 80 on a VM instance, Ubuntu.
I am running the command

streamlit run --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.


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 --server.port 22

Thank you for your response, I am able to telnet to machine on port 80.

telnet 80
Connected to
Escape character is '^]'.

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