Skip to content

ECONNREFUSED errors #113

@probins

Description

@probins

I'm new to this stuff, so may well be missing something obvious.

I bought a HS110 a month ago, set it up with the Kasa app, and then used this api with it. This worked well, so I bought 2 more, and they also work well. A couple of days ago, my original one stopped working with this api, generating ECONNREFUSED errors, for example when running client.getDevice() for that host. The Kasa app however continues to work fine with all 3 plugs. I ran nmap -F for the IP address, and it tells me that the only port open is port 80. The others have 9999 open but not 80.

AIUI, both the Kasa app and this api use 9999, so I'm puzzled as to how the Kasa app continues to work without it. I tried deleting the plug in the Kasa app, and then recreating, but the same happens.

Can anyone tell me what is causing this, and/or whether I can manually configure the plug so the expected port is available for the api to use.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions