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

Make RPC port assignment more robust #797

Merged
merged 5 commits into from
Feb 1, 2022
Merged

Conversation

maxcapodi78
Copy link
Collaborator

No description provided.

pyaedt/common_rpc.py Outdated Show resolved Hide resolved
pyaedt/common_rpc.py Outdated Show resolved Hide resolved
check = True
except socket.error as e:
port += 1
if port > 29999:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maxcapodi78 Please add a small comment to explain why this limit "29999". I might be missing something obvious.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@maxcapodi78 maxcapodi78 merged commit 31b4bb5 into main Feb 1, 2022
@maxcapodi78 maxcapodi78 deleted the Fix/Check_port_Server branch February 1, 2022 08:14
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

Successfully merging this pull request may close these issues.

2 participants