summaryrefslogtreecommitdiffstats
path: root/examples/websocket
diff options
context:
space:
mode:
Diffstat (limited to 'examples/websocket')
-rw-r--r--examples/websocket/src/echo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/websocket/src/echo.rs b/examples/websocket/src/echo.rs
index 4fabb660..f6c46e95 100644
--- a/examples/websocket/src/echo.rs
+++ b/examples/websocket/src/echo.rs
@@ -22,7 +22,7 @@ pub fn connect() -> Subscription<Event> {
loop {
match &mut state {
State::Disconnected => {
- const ECHO_SERVER: &str = "ws://localhost:3030";
+ const ECHO_SERVER: &str = "ws://127.0.0.1:3030";
match async_tungstenite::tokio::connect_async(
ECHO_SERVER,