Skip to content

RPC server bind address #8

@nvi9

Description

@nvi9

Would it be possible to use InternetAddress.loopbackIPv4 as the address on the following line?

await _server!.serve(port: 0);

gRPC binds the server socket to InternetAddress.anyIPv4 by default (when address is null) and that can trigger firewall warnings on Windows.

If binding to InternetAddress.anyIPv4 is needed or was intentional, adding a new optional argument to the FlutterSingleInstance constructor would also be a good solution.

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