Answer the question
In order to leave comments, you need to log in
I uploaded a photo to the server with nodejs, how do I get it by ip?
I uploaded a script with a nodejs application to the selectel server, which uploads photos to the server and saves them in the files folder. However, I can't access these photos on this url: xx.xxx.xx.xxx/files/image.jpg
However, the client side works fine on the same url, only on port 3000, and makes requests to this url on port 5000
What should I do? How to change the url?
Answer the question
In order to leave comments, you need to log in
See if the web server is configured to access this directory.
Check that the port is correct.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question