I have a project on a VPS server and in the same api running with Node and Express, it is accessible from outside and inside the server without problems, but I would like that this api could only be accessed by pages or app running on the same server.
Proble using app.listen (8080, 'localhost') ;, but nothing