Skip to content

rizond can not enable grpc-web interface #22

@yj97595077

Description

@yj97595077

app.toml is as blew:

###############################################################################
###                           gRPC Configuration                            ###
###############################################################################

[grpc]

# Enable defines if the gRPC server should be enabled.
enable = true

# Address defines the gRPC server address to bind to.
address = "0.0.0.0:9090"

###############################################################################
###                        gRPC Web Configuration                           ###
###############################################################################

[grpc-web]

# GRPCWebEnable defines if the gRPC-web should be enabled.
# NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op.
enable = true

# Address defines the gRPC-web server address to bind to.
address = "0.0.0.0:9091"

# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
enable-unsafe-cors = false

start command:

./rizond start --home xxx

network port listening:

netstat -anpl | grep rizond | grep LISTEN
tcp 0 0 127.0.0.1:26657 0.0.0.0:* LISTEN 109/rizond
tcp 0 0 127.0.0.1:6060 0.0.0.0:* LISTEN 109/rizond
tcp6 0 0 :::26656 :::* LISTEN 109/rizond
tcp6 0 0 :::9090 :::* LISTEN 109/rizond
tcp6 0 0 :::1317 :::* LISTEN 109/rizond

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