Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Binding to 0.0.0.0 can not be reached by other machine in the same network #2427

Closed
1 task done
sandangel opened this issue Dec 16, 2023 · 0 comments
Closed
1 task done

Comments

@sandangel
Copy link

  • I have looked for existing issues (including closed) about this

Bug Report

Version

0.6.20

Platform

Darwin Aarch64

Crates

Description

I have 2 machine in the same network with IPs:

172.16.129.1 <-- running Axum
172.16.129.136

When running with socket bind to 0.0.0.0, it can not be reached by other machines in the same network. Within the same machine, I can check curl 172.17.129.1:3000. But from the machine 172.17.129.136, I can not run curl 172.17.129.1:3000

Original issue is here: huggingface/text-embeddings-inference#110

But I found they just use axum, so I think I should report the issue here.

Since I'm using a mac, a high chance is that the mac is blocking access from other machine as well. I'm not sure how to check that.

@tokio-rs tokio-rs locked and limited conversation to collaborators Dec 16, 2023
@jplatte jplatte converted this issue into discussion #2428 Dec 16, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant