I have implemented action cable of rails-5 in my system and it\'s work fine on localhost, but when i tried to bind with ip it\'s give below error message.
localhost
Add below line to config/environments/development.rb file
config/environments/development.rb
config.action_cable.allowed_request_origins = [/http:\/\/*/, /https:\/\/*/]
Hope this will help you.