Skip to content

Commit

Permalink
bind to localhost instead of all interfaces
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Miller <[email protected]>
  • Loading branch information
reubenmiller committed Jul 29, 2024
1 parent 19ba2cd commit e7c43aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/extensions/tedge_mqtt_bridge/tests/bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ fn get_rumqttd_config(port: u16) -> Config {

let server_config = ServerSettings {
name: port.to_string(),
listen: ([0, 0, 0, 0], port).into(),
listen: ([127, 0, 0, 1], port).into(),
tls: None,
next_connection_delay_ms: 1,
connections: connections_settings,
Expand Down
2 changes: 1 addition & 1 deletion crates/tests/mqtt_tests/src/test_mqtt_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ fn get_rumqttd_config(port: u16) -> Config {

let server_config = ServerSettings {
name: "1".to_string(),
listen: ([0, 0, 0, 0], port).into(),
listen: ([127, 0, 0, 1], port).into(),
tls: None,
next_connection_delay_ms: 1,
connections: connections_settings,
Expand Down

0 comments on commit e7c43aa

Please sign in to comment.