1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-21 07:27:45 +00:00

Change the default listen address to all addresses

This makes it slightly easier to share the server between machines, or
in my case - virtual machines.
This commit is contained in:
Joshua Goins 2025-06-17 16:05:36 -04:00
parent 37a9702a29
commit 2576c49246

View file

@ -16,7 +16,7 @@ impl Default for AdminConfig {
fn default() -> Self {
Self {
port: 5800,
listen_address: "127.0.0.1".to_string(),
listen_address: "0.0.0.0".to_string(),
}
}
}
@ -44,7 +44,7 @@ impl Default for FrontierConfig {
fn default() -> Self {
Self {
port: 5857,
listen_address: "127.0.0.1".to_string(),
listen_address: "0.0.0.0".to_string(),
worlds_open: true,
login_open: true,
}
@ -72,7 +72,7 @@ impl Default for LobbyConfig {
fn default() -> Self {
Self {
port: 7000,
listen_address: "127.0.0.1".to_string(),
listen_address: "0.0.0.0".to_string(),
}
}
}
@ -100,7 +100,7 @@ impl Default for LoginConfig {
fn default() -> Self {
Self {
port: 6700,
listen_address: "127.0.0.1".to_string(),
listen_address: "0.0.0.0".to_string(),
server_name: "ffxiv-login.square.localhost".to_string(),
}
}
@ -140,7 +140,7 @@ impl Default for PatchConfig {
fn default() -> Self {
Self {
port: 6900,
listen_address: "127.0.0.1".to_string(),
listen_address: "0.0.0.0".to_string(),
patch_dl_url: "patch-dl.ffxiv.localhost".to_string(),
patches_location: "patches".to_string(),
boot_server_name: "patch-bootver.ffxiv.localhost".to_string(),
@ -172,7 +172,7 @@ impl Default for WebConfig {
fn default() -> Self {
Self {
port: 5801,
listen_address: "127.0.0.1".to_string(),
listen_address: "0.0.0.0".to_string(),
server_name: "ffxiv.localhost".to_string(),
}
}
@ -237,7 +237,7 @@ impl WorldConfig {
}
fn default_listen_address() -> String {
"127.0.0.1".to_string()
"0.0.0.0".to_string()
}
fn default_world_id() -> u16 {
@ -295,7 +295,7 @@ impl Default for LauncherConfig {
fn default() -> Self {
Self {
port: 5802,
listen_address: "127.0.0.1".to_string(),
listen_address: "0.0.0.0".to_string(),
server_name: "launcher.ffxiv.localhost".to_string(),
}
}
@ -322,7 +322,7 @@ impl Default for SaveDataBankConfig {
fn default() -> Self {
Self {
port: 5803,
listen_address: "127.0.0.1".to_string(),
listen_address: "0.0.0.0".to_string(),
}
}
}