使用网络URL运行简化应用程序

发布于 2025-01-21 20:17:59 字数 606 浏览 2 评论 0 原文

我精简了我尝试在本地主机上运行并正常运行的应用程序,但是当我尝试在其他计算机上使用网络URL 时,它不起作用,只能显示以下的白色空白页面:

ps:所有计算机都离线它们未连接到Internet。它们都在同一网络上,可以在拥有一些共享文件的地方相互连接。

但是,如果我在在线的PC上运行该应用并尝试从另一台PC输入它。

  • 操作系统:Windows 7
  • Python版本:3.7
  • 简化版本:1.8

我的问题是我需要运行Web服务器上的应用程序,或者,如果我从计算机运行它,其他人可以使用该应用? 就像我需要在Windows服务器上运行该应用程序,还是需要安装Apache Web服务器,例如 Wamp ?还是只能从我的PC上完成,而没有任何这些?

I have streamlit app that i try to run on my localhost and work fine but when i try to use the NETWORK URL on other computer it did not work and just display white blank page like below :
enter image description here

PS: All the computers are offline they are not connected to the internet. they are all on the same network and they can connect to each other where they have some sharing files.

However if i run the app on a pc that is online and try to enter from another pc it works.

  • Operating system: windows 7
  • python version:3.7
  • streamlit version: 1.8

My question is do i need to run the app on a web server or just if i run it from my computer others can use the app ??
like do i need to run the app on a windows server or i need to install an apache webserver like wamp? or just it can be done from my pc without any of these??

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文