Skip to content

The relaychain rpc-port param is ignored #329

@stakeworks

Description

@stakeworks

I've set the --rpc-port param to port 9928 but still the default port, 9945, is used. The listen-addr with a different port, defined after the rpc-port, is working correctly.

Settings:
--
--rpc-port 9928
--chain polkadot
--base-path /path/
--no-mdns
--out-peers 25
--in-peers 50
--no-private-ipv4
--listen-addr /ip4/xx.xx.xx.xx/tcp/44446/ws
--listen-addr /ip6/xx:xx:xx::x/tcp/44446/ws

Result:
[Relaychain] Running JSON-RPC server: addr=127.0.0.1:9945,

Image

The rpc-port setting for the parachain is working correctly.

Ubuntu 22.04.5 LTS
peaq-node-v4.0.0 4.0.0-polkadot-v1.7.2-417e0924631

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions