M
M
maxemga2021-04-04 21:49:12
Express.js
maxemga, 2021-04-04 21:49:12

Requests to the server on the hosting do not work, what should I do?

I have a script that makes requests to the server, it is already in the database
When I developed the application everything worked, because it was local and I accessed localHost
But now I uploaded the site to the hosting and everything works on my device, but not for others (error in the photo)
How do I contact the server? (not via localhost)

606a097533ec2588534889.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Developer, 2021-04-04
@maxemga

Haha! I did not expect that someone would bring the classics from a joke to life.
Raise the database on the server and connect to it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question