osx - how to manage firewall settings on local rails server -


i'm trying setup basic opentok video connection between 2 osx computers on local rails server. second computer connects local rails server, opentok video component not work/tells me have firewall issue. i'm out of depth on network administration stuff. how investigate possible firewall issue in context? it's not blocking other computers' access somehow interfering connection opentok's servers.

details:

i first tested code on own computer. booted webrick rails s, went localhost:3000, osx built-in webcam connects, code works. opened separate incognito tab in chrome , loaded localhost again two-way connection. works. great.

then tried booting internal ip (rails s -b 192.168.0.100) connect local server different computer. server starts fine, go http://192.168.0.100:3000, code works (e.g. can login, page loads, etc) web cam video won't load (it's blank black video screen loading icon, if matters). connect http://192.168.0.100:3000 other computer, code works video won't load. seems opentok issue. load opentok's debug tool , sure enough there's error on session: "failed publish session. can happen if user has denied access camera/microphone or if behind firewall."

clearly had not denied camera/mic access, access fine couple minutes ago on localhost, , no additional access prompts came when loaded http://192.168.0.100:3000. i'm assuming there's firewall issue.

i tried booting on port 80 instead of 3000, tried booting 0.0.0.0, keep running same error.

=====

any appreciated! i'm pretty lost on stuff.

you need check if meet requirements mentioned here: https://support.tokbox.com/hc/en-us/articles/203244520-opentok-network-connectivity-requirements

also, try running connectivity doctor in chrome/ff , see if gives green checks.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -