aquatic_udp, aquatic_ws: bind to 0.0.0.0:3000 by default

This commit is contained in:
Joakim Frostegård 2020-05-17 11:58:00 +02:00
parent c8105db053
commit 4216452fc9
3 changed files with 4 additions and 4 deletions

View file

@ -88,7 +88,7 @@ socket_workers = 1
request_workers = 1 request_workers = 1
[network] [network]
address = '127.0.0.1:3000' address = '0.0.0.0:3000'
max_scrape_torrents = 255 max_scrape_torrents = 255
max_response_peers = 255 max_response_peers = 255
peer_announce_interval = 900 peer_announce_interval = 900
@ -142,7 +142,7 @@ Default configuration:
socket_workers = 1 socket_workers = 1
[network] [network]
address = '127.0.0.1:3000' address = '0.0.0.0:3000'
use_tls = false use_tls = false
tls_pkcs12_path = '' tls_pkcs12_path = ''
tls_pkcs12_password = '' tls_pkcs12_password = ''

View file

@ -111,7 +111,7 @@ impl Default for Config {
impl Default for NetworkConfig { impl Default for NetworkConfig {
fn default() -> Self { fn default() -> Self {
Self { Self {
address: SocketAddr::from(([127, 0, 0, 1], 3000)), address: SocketAddr::from(([0, 0, 0, 0], 3000)),
max_scrape_torrents: 255, max_scrape_torrents: 255,
max_response_peers: 255, max_response_peers: 255,
peer_announce_interval: 60 * 15, peer_announce_interval: 60 * 15,

View file

@ -87,7 +87,7 @@ impl Default for Config {
impl Default for NetworkConfig { impl Default for NetworkConfig {
fn default() -> Self { fn default() -> Self {
Self { Self {
address: SocketAddr::from(([127, 0, 0, 1], 3000)), address: SocketAddr::from(([0, 0, 0, 0], 3000)),
use_tls: false, use_tls: false,
tls_pkcs12_path: "".into(), tls_pkcs12_path: "".into(),
tls_pkcs12_password: "".into(), tls_pkcs12_password: "".into(),