Re: Composants one wire plus updatés.
Publié : 13 déc. 2016, 20:54
Salut!
Non, je ne l'avais pas mis dans reseaux locaux, mais maintenant, c'est fait mais toujours pareil.
En résumé (avec ou sans user/password),
depuis le navigateur:
http://192.168.0.24:8080/json.htm?type= ... &timeout=5 : OK
http://127.0.0.1:8080/json.htm?type=com ... &timeout=5 :NON
depuis putty:
curl "http://127.0.0.1:8080/json.htm?type=com ... &timeout=5" :OK
curl "http://192.168.0.24:8080/json.htm?type= ... &timeout=5" : OK
depuis domoticz.sh
curl "http://127.0.0.1:8080/json.htm?type=com ... &timeout=5" :NON
curl "http://192.168.0.24:8080/json.htm?type= ... &timeout=5" : NON
Sinon, au demarrage j'ai dans les logs:
2016-12-13 20:50:48.953 WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2016-12-13 20:50:48.973 WebServer(SSL) started on address: 0.0.0.0 with port 443
C'est normal ces 0.0.0.0?
Non, je ne l'avais pas mis dans reseaux locaux, mais maintenant, c'est fait mais toujours pareil.
En résumé (avec ou sans user/password),
depuis le navigateur:
http://192.168.0.24:8080/json.htm?type= ... &timeout=5 : OK
http://127.0.0.1:8080/json.htm?type=com ... &timeout=5 :NON
depuis putty:
curl "http://127.0.0.1:8080/json.htm?type=com ... &timeout=5" :OK
curl "http://192.168.0.24:8080/json.htm?type= ... &timeout=5" : OK
depuis domoticz.sh
curl "http://127.0.0.1:8080/json.htm?type=com ... &timeout=5" :NON
curl "http://192.168.0.24:8080/json.htm?type= ... &timeout=5" : NON
Sinon, au demarrage j'ai dans les logs:
2016-12-13 20:50:48.953 WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2016-12-13 20:50:48.973 WebServer(SSL) started on address: 0.0.0.0 with port 443
C'est normal ces 0.0.0.0?