Skip to content

Commit

Permalink
Change p2p default port to 8084 (#21162)
Browse files Browse the repository at this point in the history
## Description 

8084 is mentioned to be the default p2p port in docs:
https://docs.sui.io/guides/operator/validator-tasks#connectivity
And validator / transaction RPC port defaults to 8080 already.
So changing the default p2p port from 8080 to 8084 in `P2pConfig`.
I believe the change is backward compatible but lmk otherwise.

## Test plan 

CI

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] gRPC:
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
  • Loading branch information
mwtian authored Feb 10, 2025
1 parent cfc16c5 commit 43dd574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-config/src/p2p.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub struct P2pConfig {
}

fn default_listen_address() -> SocketAddr {
"0.0.0.0:8080".parse().unwrap()
"0.0.0.0:8084".parse().unwrap()
}

impl Default for P2pConfig {
Expand Down

0 comments on commit 43dd574

Please sign in to comment.