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

FL_HUB clients connection issue. #2952

Open
azad-nstu opened this issue Sep 19, 2024 · 0 comments
Open

FL_HUB clients connection issue. #2952

azad-nstu opened this issue Sep 19, 2024 · 0 comments

Comments

@azad-nstu
Copy link

I was trying to run the existing fl_hub example in NVFlare 2.4.1, but most of the time the clients had difficulties connecting to the server, as shown below:

Image

Image

After troubleshooting, I realized that the issue could be related to the ports already in use by other processes that were configured for fl_hub. To resolve this, before running the application, I killed the processes occupying the ports 8002, 8003, 8102, 8103, 8202, and 8203 by running the following command:

for port in 8002 8003 8102 8103 8202 8203; do sudo lsof -i :$port -t | xargs sudo kill -9; done

After executing this command, the issue was resolved for me, and all the clients were able to connect successfully. You may want to check this out.
Thanks!

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

1 participant