Unable to connect remotely from other devices + Vorlon

心已入冬 提交于 2019-12-06 08:39:33

I was my bad. I am using localhost:1337 to load vorlon.js. We have to use ip address instead of localhost from other machine

frage

There can be a few different problems at play here.

First you need to find the IP address of the computer that is hosting your application/site i.e. 192.168.10.4.

  1. start vorlon

    c:/> vorlon -v

  2. start webserver, ensure you use the same IP address found above

    c:/>python web2py.py --i 192.168.10.4 -p 8000

  3. add script tag for vorlon

Both python and nodejs have to be allowed through the firewall, so next add rules for both the python executable you are using (which could be a virtualenv) and nodejs.

Finally you need to ensure that there are no other firewall rules that match the ports or applications you use, this is critical as I had a conflicting firewall rule for nodejs that was blocking the connection to nodejs and hence the script /vorlon.js cannot be found.

Hope this helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!