Skip to content

fix: align op-node RPC listener with Docker port mapping - #54

Open
Lesnak1 wants to merge 1 commit into
risechain:mainfrom
Lesnak1:fix/op-node-rpc-port
Open

fix: align op-node RPC listener with Docker port mapping#54
Lesnak1 wants to merge 1 commit into
risechain:mainfrom
Lesnak1:fix/op-node-rpc-port

Conversation

@Lesnak1

@Lesnak1 Lesnak1 commented Aug 9, 2026

Copy link
Copy Markdown

Summary

  • make the op-node RPC listener use the Compose target port, 9545
  • preserve the externally published host endpoint on port 7545
  • keep the change limited to the incorrect command-line override

Problem

The rise-node service publishes 7545:9545, so Docker forwards host port 7545 to port 9545 inside the container. However, the service command overrides op-node with --rpc.port=7545.

That leaves Docker forwarding requests to container port 9545 while op-node listens on 7545, making the published rollup RPC endpoint unreachable.

Fix

Set --rpc.port=9545 so the in-container listener matches the Compose target port. The user-facing host port remains 7545.

Verification

  • confirmed the branch is based on the current upstream main commit
  • confirmed the remote comparison is one commit and one file with +1/-1
  • configuration wiring check: host 7545 → container 9545; op-node listener 9545
  • git diff --check

@Lesnak1
Lesnak1 marked this pull request as ready for review August 9, 2026 21:15
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

Successfully merging this pull request may close these issues.

1 participant