已克隆Python Flask应用程序并已部署在Heroku上。但其显示“内部服务器错误”

时间:2019-03-12 10:40:58

标签: python heroku flask flask-sqlalchemy git-clone

克隆了以前的Python Flask应用并部署在Heroku上,但显示“内部服务器错误”,并且在检查日志时显示

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) 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?

0 个答案:

没有答案