Open learnacadman opened 1 year ago
Here's my code:
const tunnel = require('global-tunnel-ng'); tunnel.initialize({ host: 'proxy_host', port: proxy_port }); fetch('https://api.myip.com') .then(response => response.json()) .then(json => console.log(json))
It still logs my own IP address instead of the proxy one. I tried multiple proxy servers.
Here's my code:
It still logs my own IP address instead of the proxy one. I tried multiple proxy servers.