raihanafroz / zkteco

ZKTeco Laravel Library
151 stars 57 forks source link

can't connect to zkteco from deployed laravel project #34

Open alfredo982t opened 7 months ago

alfredo982t commented 7 months ago

I can connect to ZK Device when the laravel app was on local pc, but when I deploy the project to host server I can't connect to it. I tried configure virtual server on my router but not connecting too.

erdum commented 5 months ago

Please read this carefully and try to understand

https://github.com/raihanafroz/zkteco/issues/35#issuecomment-1990949004 #35

talhashehroze commented 2 weeks ago

Try integrating python package in your laravel project. it works for me. I have done port forwarding on my router and now i am able to access Zkteco machine outside of LAN. for running python script inside php file u can use exec function. Python package -> https://github.com/fananimi/pyzk