Ruby Rails callback URL in development -


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:

  1. make sure forwarding external port 80 local port 3000.
  2. make sure plivo configured outgoing public ip address call url hostname. (google "what ip"? , google tell you)
  3. if doesn't work, perhaps computer firewalled? or router / isp firewalls port 80?
  4. if #3 case, try forwarding port 3000 local port 3000, have able change callback url (#2) use port 3000.

or - try:

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).