How to set “”server_address” (IP) between Client and server in different networks device?(i.e., not in LAN)
What is your question?
When I set the server and clients to be in a different network, i.e. not in LAN, the codes reported errors.
Server:
Server IPv4 address: 10.69.70.247
Client:
Client IPv4 address: 10.188.141.42
@KawhiHeisenberg631 could you provide more details about the setup you're trying to run? What do you mean by "not in LAN"?
Maybe his "Not in LAN" means they are not in the same LAN, like the laptop is in the "LAN1" but the raspberry pi is in the "LAN2". They can't communicate with each other easily.
Is there a solution for this issue?
Description: I'm encountering a problem with the Flower framework when attempting to connect the server and clients on different networks. The connection either times out or fails to establish. Below are the details of the issue:
Steps to Reproduce:
Set up a Flower server on Network A. Attempt to connect a client from Network B. Observe the connection failure or timeout.
Expected Behavior: The client should successfully connect to the server even when they are on different networks.
Actual Behavior: The connection fails to establish, resulting in timeouts or other errors as mentioned in this issue.
But there is no issue when both the server and clients are connected to the same network A.
Hi
thanks for raising this. This can be done by using docker image and running superlink on one network and supernodes on other networks and connect using docker credentials and right server address. These examples might help you get started: https://github.com/adap/flower/tree/main/examples/app-pytorch https://github.com/adap/flower/tree/main/examples/embedded-devices https://github.com/adap/flower/tree/main/examples/flower-authentication https://github.com/adap/flower/blob/main/doc/source/how-to-authenticate-supernodes.rst
Closing this for now.