错误 404 未找到 EC2

错误 404 未找到 EC2

我正在尝试部署一个由多个页面组成的 Flask 应用程序,并按照本教程进行操作:https://www.youtube.com/watch?v=ct1GbTvgVNM&t=94s&ab_channel=AMonkinCloud%E2%98%81%EF%B8%8F

一切顺利,但是当我尝试连接到我的公共 IP 地址时,出现错误 404 Not Found。

可能是因为我的申请出了问题吗?

如果我使用 $ curl localgost:8000,它似乎工作正常,得到以下结果:

<!doctype html>
<html lang=en>
<title>Redirecting...</title>
<h1>Redirecting...</h1>
<p>You should be redirected automatically to the target URL: <a href="/login?next=%2F">/login?next=%2F</a>. If not, click the link.

先谢谢了!

相关内容