克隆了以前的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?