diff --git a/side-node/src/websocket/mod.rs b/side-node/src/websocket/mod.rs index 53e7e20..c85edfb 100644 --- a/side-node/src/websocket/mod.rs +++ b/side-node/src/websocket/mod.rs @@ -12,8 +12,8 @@ use websockets::WebSocket; /// Starts a websocket and periodically sends a BFT-CRDT message to the websocket server pub(crate) async fn start() -> Result<(), websockets::WebSocketError> { - println!("connecting to websocket at ws://localhost:8080/"); - let mut ws = WebSocket::connect("ws://localhost:8080/").await?; + println!("connecting to websocket at ws://127.0.0.1:8080/"); + let mut ws = WebSocket::connect("ws://127.0.0.1:8080/").await?; // generate a placeholder transaction let json = generate_transaction().unwrap();