i integrating plivo in application(ruby/rails) , setup router point local dev environment callback. have setup controller method: plivo/receive_sms , associated route in routes.rb
my question is: how setup router(netgear) receive callback localhost:3000/plivo/receive_sms plivo?
i have tried forwarding port 80 local ip (192.168.1.20) did not work.. added ports 3000 - 8080 no success.
that should work:
- make sure forwarding external port 80 local port 3000.
- make sure plivo configured outgoing public ip address call url hostname. (google "what ip"? , google tell you)
- if doesn't work, perhaps computer firewalled? or router / isp firewalls port 80?
- if #3 case, try forwarding port 3000 local port 3000, have able change callback url (#2) use port 3000.
or - try:
- localtunnel.me
- localtunnel gem
- pagekite
- showoff
- https://pagekite.net/2011-04-20/pagekite_meets_showoff
- http://devblog.avdi.org/2012/04/27/http-forwarding-services-for-local-facebook-development/
or if have access server thats sits somewhere on internet, there gems similar local tunnel use own server proxying.
or can manually ssh using -r or -l option (i forget which).