-
Python version (
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
When multiple NVFLARE clients and the server share the same public IP, provisioning still works correctly as long as every participant uses a unique port. NVFLARE does not require unique IPs only unique host:port combinations. Here is how to set it up: 1. /etc/hosts does not include portsThis is normal and expected. /etc/hosts should contain only hostname → IP mappings, for example: /etc/hosts203.xx.xx.10 clientA
203.xx.xx.10 clientB
203.xx.xx.22 server
203.xx.xx.22 clientCAll machines can use the same IP. Ports are not placed here. 2. project.yml must specify unique ports for each siteEach participant (server or client) gets its own port inside the NVFLARE provisioning config: participants: - name: server
type: server
host: server
components:
resource_manager:
ports:
fed_server: 9002
- name: clientA
type: client
host: clientA
components:
resource_manager:
ports:
fed_client: 8801
- name: clientB
type: client
host: clientB
components:
resource_manager:
ports:
fed_client: 8802
- name: clientC
type: client
host: clientC
components:
resource_manager:
ports:
fed_client: 8803Even if clientA and clientB share the same public IP, NVFLARE connects to them separately using their assigned ports. 3. Performance / bottlenecksSharing the same public IP is not a problem for NVFLARE. |
Beta Was this translation helpful? Give feedback.
When multiple NVFLARE clients and the server share the same public IP, provisioning still works correctly as long as every participant uses a unique port. NVFLARE does not require unique IPs only unique host:port combinations.
Here is how to set it up:
1. /etc/hosts does not include ports
This is normal and expected. /etc/hosts should contain only hostname → IP mappings, for example:
/etc/hosts
All machines can use the same IP. Ports are not placed here.
2. project.yml must specify unique ports for each site
Each participant (server or client) gets its own port inside the NVFLARE provisioning config:
…