-1

How can I use the Windows version of NGROK from behind a corporate proxy?

I am using Node JS and I need to reach out api.twilio.com.

Example:

// Twilio Credentials 
var accountSid = 'ACCOUNTSID'; 
var authToken = 'AUTHTOKEN'; 


//require the Twilio module and create a REST client
var client = require('twilio')(accountSid, authToken); 

client.messages.create({ 
    to: "+16518675309", 
    from: "+14158141829", 
    body: "Thanks for the help StackOverflow!", 
    mediaUrl: "http://farm2.static.flickr.com/1075/1404618563_3ed9a44a3a.jpg",  
}, function(err, message) { 
    console.log(message.sid); 
});
copolii
  • 14,208
  • 10
  • 51
  • 80
denstorti
  • 127
  • 2
  • 12
  • 3
    That's not what ngrok does. ngrok allows other people to connect to you, not the other way around. If you need to talk to `api.twilio.com` for work purposes I would talk to your manager or whoever meanages the firewall. – Zoey Mertes Sep 02 '14 at 19:11

1 Answers1

4

Have you checked out the ngrok FAQ? The first item may answer your question:

Does ngrok work behind an HTTP Proxy?

Yes. You may specify an HTTP proxy to connect through in ngrok's configuration file or by using the standard unix environment variable http_proxy. Consult the documentation on running ngrok through an HTTP proxy for more details.

Devin Rader
  • 10,260
  • 1
  • 20
  • 32