curl:(7) Failed to connect to GoogleHome ip port 8091: Connection denied

Asked 2 years ago, Updated 2 years ago, 169 views

I look forward to your kind regards.
Use Google-home-notifier to tell Google-home your favorite words
I'm thinking of letting you talk.

Environment virtualbox
Guest OS ubuntu

Run example.js of google-home-notier on another console

 curl-X POST-d "text=Good job" ip:8091/Google-home-notifier in http://GoogleHome

When I ran

 curl:(7) Failed to connect to GoogleHome ip port 8091: Connection denied

It says

I would appreciate it if you could let me know how to connect.

network curl

2022-09-30 21:34

1 Answers

If example.js in google-home-notier, it is not Google Home that should be accessed, but the server started with this example.js.

If so, please specify the IP address of the machine running example.js instead of "GoogleHome ip".To README, click

Endpoints:
    http://192.168.1.20:8091/google-home-notifier
    https://xxxxx.ngrok.io/google-home-notifier

It says that it appears as shown in , but the IP displayed may be incorrect.


2022-09-30 21:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.