mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 12:09:07 +00:00
Fix RQLite bind addresses to allow external connections
- Change RQLite HTTP bind from localhost to 0.0.0.0 - Change RQLite Raft bind from localhost to 0.0.0.0 - This allows secondary bootstrap nodes and regular nodes to join the cluster - Resolves 'invalid join address' error for secondary bootstrap nodes
This commit is contained in:
parent
b529c32742
commit
2181b5ced0
@ -43,8 +43,8 @@ func (r *RQLiteManager) Start(ctx context.Context) error {
|
||||
|
||||
// Build RQLite command
|
||||
args := []string{
|
||||
"-http-addr", fmt.Sprintf("localhost:%d", r.config.RQLitePort),
|
||||
"-raft-addr", fmt.Sprintf("localhost:%d", r.config.RQLiteRaftPort),
|
||||
"-http-addr", fmt.Sprintf("0.0.0.0:%d", r.config.RQLitePort),
|
||||
"-raft-addr", fmt.Sprintf("0.0.0.0:%d", r.config.RQLiteRaftPort),
|
||||
}
|
||||
|
||||
// Add join address if specified (for non-bootstrap or secondary bootstrap nodes)
|
||||
|
Loading…
x
Reference in New Issue
Block a user