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

RPC-ports change #1534

Open
Curu24 opened this issue Dec 2, 2024 · 3 comments
Open

RPC-ports change #1534

Curu24 opened this issue Dec 2, 2024 · 3 comments

Comments

@Curu24
Copy link

Curu24 commented Dec 2, 2024

Hello,

there seem to be no option to change the RPC ports on Bifrost-Polkadot node.
Tried to set RPC ports via flags:

--rpc-port 9944 \
-- \
--rpc-port 9945 \

On the node startup however, the same port is always assigned for relaychain (9944) and a random port for parachain, e.g.:

[Parachain🌈] Running JSON-RPC server: addr=127.0.0.1:46621
[Relaychain] Running JSON-RPC server: addr=127.0.0.1:9944
@TomatoAres
Copy link
Contributor

Bifrost is a parachain and needs to expose two RPC ports.
The port number of the relay chain is bound to 9944, which makes it impossible for the specification with "--rpc-port" to take effect. We are currently working on fixing this problem.
Therefore, the parachain is now using an available port other than 9944.
The parameters are changed to:

--rpc-port 9945
--

@Curu24
Copy link
Author

Curu24 commented Dec 3, 2024

Bifrost is a parachain and needs to expose two RPC ports. The port number of the relay chain is bound to 9944, which makes it impossible for the specification with "--rpc-port" to take effect. We are currently working on fixing this problem. Therefore, the parachain is now using an available port other than 9944. The parameters are changed to:

--rpc-port 9945
--

Thanks, please just keep in mind that the parachain port also can not be changed currently and would be good to have this option.
I suggest to make the defaults like on any other parachains to avoid further confusion. e.g.:

--rpc-port 9944 \
-- \
--rpc-port 9945 \

@TomatoAres
Copy link
Contributor

@Curu24 because of 9944 port has been used by relay-chain, para-chain must use other ports

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

No branches or pull requests

2 participants