S
S
Styopa Shelukha2021-12-21 11:25:31
local server
Styopa Shelukha, 2021-12-21 11:25:31

Why is localhost dropping the connection?

I made a site according to the guide, the database is connected. The server starts successfully on port 5000, but when switching to it, the connection is dropped

PORT=5000
DB_NAME=online_store
DB_USER=postgres
DB_PASSWORD=root
DB_HOST=localhost
DB_PORT=5000

61c18f558f7dc945871993.png
PS There is no understanding what information can help to understand the problem, so ask clarifying questions

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2021-12-21
@karabanov

Well, yes, using the bowser it is not possible to connect to the database. What did you expect?

D
Drno, 2021-12-21
@Drno

Raise the web server ... it will work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question