Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个连接 ZKTECO K40 设备的站点。连接方法很简单:
from zk import ZK, const zk = ZK('192.168.1.13', port=4370, timeout=5) conn = zk.connect()
这会在从同一网络中连接的本地主机运行时建立连接。
但托管站点后,站点无法 ping 到设备,也无法连接到设备。
如何从托管的 django 站点连接到连接在 pc 本地网络上的设备?我的网站托管在 Cpanel 上。
从服务器无法连接连接到某个本地网络的机器。您必须使用 cams biometric api 从远程托管的应用程序与您的生物识别设备进行通信。