envd
envd copied to clipboard
feat(lang): Support 0.0.0.0 to expose services
Description
Ref https://github.com/tensorchord/envd/discussions/922
Message from the maintainers:
Love this enhancement proposal? Give it a ๐. We prioritise the proposals with the most ๐.
Does this require any docker port exposure setting?
I am not sure if you use WSL or macOS.
It's Linux,I used ZeroTier to comibine a virtual local near Net and ZeroTier will allocate a virtual IP address for each host in this network.
So in virtual local near network I couldn't use locahost:port to access service ,I must use Virtual IP:port to access this docker service.
for example: This is my real local near network IP adress
eno1 Link encap:Ethernet
inet addr:172.16.41.35
This is my virtual local near network IP adress in the same computer
ztuwyrenjc Link encap:Ethernet
inet addr:10.10.10.35
Of course I can use 172.16.41.35:port to access service in real local near network, But I couldn't use service in 10.*.*.* virtual local near network if not exposured 0.0.0.0.
I am not sure if you use WSL or macOS.
Not WSL,just a Linux(ubuntu).
Gotcha, thanks for your reply.
Maybe we should support all local interface ip address. Let me check network part of docker?
Sure, thanks!
/assign @aseaday
Hi Nullday, Are you still on the issue?
/cc @aseaday
Hi Nullday, Are you still on the issue?
/cc @aseaday
sorry for late. I just returned home last night and will begin coding today.
Seems that you have a nice vocation.
Sure, thanks.
https://github.com/tensorchord/envd/pull/1128