S
S
Secret_dungeon2020-10-15 21:31:16
Flask
Secret_dungeon, 2020-10-15 21:31:16

How to solve a bug in Flask?

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
How to solve this error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Shvedov, 2020-10-15
@Secret_dungeon

The error says that it cannot connect to postgres, or it does not listen to the localhost, or the port is not the right one, or the mb is finally not running.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question