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

Add gRPC default port 50051 to reserved ports #11771

Closed
wants to merge 4 commits into from

Conversation

gord1306
Copy link

Why I did it

The port 50051 may be occupied by the other network connections than gRPC

How I did it

Add port 50051 into the reserved ports to prevent from being chosen as the
ephemeral port when establishing a network connection.

How to verify it

Generate connection make sure there no 50051 port be used

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: gord_chen gord_chen@edge-core.com

The port 50051 is used by grpc (telemetry). Add it into the
reserved ports to prevent from being chosen as the ephemeral
port when establishing a network connection.

Signed-off-by: gord_chen <gord_chen@edge-core.com>
@gord1306 gord1306 requested a review from lguohan as a code owner August 18, 2022 06:10
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 18, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@gord1306
Copy link
Author

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 11771 in repo sonic-net/sonic-buildimage

@gord1306
Copy link
Author

gord1306 commented Aug 8, 2024

Fixed by #17907

@gord1306 gord1306 closed this Aug 8, 2024
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.

1 participant