Announcement

Collapse
No announcement yet.

Control API, ERR_CONNECTION_REFUSED

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Control API, ERR_CONNECTION_REFUSED

    Hi

    I really like ImperiHome. Simple and powerful.

    But I can't get the Control API to work. (everything else(?) works.)

    I have a static working IP address for my phone (Huawei Honor Note 8, Android 6.0)

    I activate the Control API and keeps it at port 8080.

    But i cant get any connection form HomeSeer to my phone.
    The Log gives:

    Mar-27 9:04:46 PM ImperiHome INFO WebException: ConnectFailure Error: ConnectFailure (Connection refused)
    Mar-27 9:04:46 PM ImperiHome DEBUG CMD SENT: http://192.168.1.40:8080/api/rest/imperihome/about?




    And when i go to http://192.168.1.40:8080 i get "ERR_CONNECTION_REFUSED"

    I have tried other ports with the same result.

    What to do next?

    Best regards

  • #2
    well, I'm not sure what could be the problem, do you have some kind of firewall on your phone? did you try to restart the IH app (or even reboot the phone) after activating the Control API in the settings?

    Comment


    • #3
      I have not been able to find a firewall, but this imported Huawai phone has some strange things going on.

      I have now tied it with an other phone and it all works as expected so I guess that there are some thing special about my phone.

      If anyone has an idea on what to check...


      Best regars

      Comment

      Working...
      X