Skip to content

Configure bind address #82

@xaqq

Description

@xaqq

Hello,

I would like to be able to bind my gRPC on a dedicated interface.
It seems this is not possible:

  • This starter's configuration exposes only a port not an address.
  • Extending GRpcServerBuilderConfigurer gives access to an already created NettyServerBuilder
    and therefore the address property cannot be changed.

I am new to Spring and to this gRPC starter, so I'm wondering if maybe I have missed something obvious?
The current workaround would be to let the app bind on 0.0.0.0 and rely on a properly configured firewall. I would rather have the app bind to the expected interface.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions