【发布时间】:2020-07-21 19:29:52
【问题描述】:
所以我试图在 heroku 上托管我的第一个 Django 应用程序。 帮助组建了一些 Youtube 频道。我使用 postgresql 作为我的数据库。现在,当我尝试在 heroku 上托管我的应用程序时,出现了以下错误:
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?```
**This is the error showing**
【问题讨论】:
-
您的数据库托管在哪里?
-
您使用的是 Mac 吗?
-
我正在使用 Windows。
标签: django python-3.x github heroku