Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the correct IP address of host machine #16

Open
Shaked opened this issue Sep 10, 2019 · 1 comment
Open

How to set the correct IP address of host machine #16

Shaked opened this issue Sep 10, 2019 · 1 comment

Comments

@Shaked
Copy link

Shaked commented Sep 10, 2019

Hey,

Thank you for the great project!

I was wondering, as localhost doesn't work (returns: Error: Not found when using node's client). How can I set the right sshTargetHost so that it will automatically ssh to the host machine?

Using azure iot hub&edge version 1.0.8.1 on ARM64 with suneetnangia/azure-iot-edge-secure-access:360-arm32v7

Thank you,
Shaked

@ElD4n1
Copy link

ElD4n1 commented Sep 13, 2021

Hi, I know it's late, but I just want to post my solution here as I stumbled upon the same issue.

The container seems to have access to all host networks and thus can resolve the host via any of the IPs of the host's network interfaces.
You can configure a static IP address for the host machine in your local network and set this as the sshTargetHost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants