dimanche 22 novembre 2015

Whitelisting of IP address not working on a rails server

I was facing this problem while running the rails server -

Cannot render console from <IP-ADDRESS>! Allowed networks: 137.0.0.1, ::1, 123.0.0.0/127.253.255.200

I looked up the problem and I whitelisted my IP-ADDRESS by doing the following in the development.rb file -

config.web_console.whitelisted_ips = 'IP-ADDRESS'

Now the render console error does not come up thanks to the whitelisting, but it redirects the path to the app after hitting the server and nothing gets rendered on screen-

Redirected to <PATH>

Completed 302

Anyone knows a workaround?




Aucun commentaire:

Enregistrer un commentaire