Posts by Pedro Nasser • 151 points
3 posts
-
1
votes1
answer702
viewsA: How to find the server port that answered the request
I don’t understand if you are looking for information from the target server or the local server. If you are searching for the port used by the proxy to connect to the target server, the best way is…
-
0
votes1
answer80
viewsA: Upload a nodjs and mongodb project into a VPS
One way to do this (I think it’s the best one) would be to use git, such as github: create a project on github configure your project locally on github send the project to github. clone the project…
-
1
votes3
answers1894
viewsA: Is it possible to import Javascript variables (Node.js)?
You could use a module that already comes in the core of Node.JS called vm. For example: var vm = require('vm'); var fs = require('fs'); var testFile = fs.readFileSync('./test.js'); var app =…