mirror of
https://github.com/ZeusWPI/ZNS.git
synced 2024-11-21 21:41:10 +01:00
change port
This commit is contained in:
parent
50640d859e
commit
c213ac14f9
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ mod utils;
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> Result<(), Box<dyn Error>> {
|
async fn main() -> Result<(), Box<dyn Error>> {
|
||||||
Config::initialize();
|
Config::initialize();
|
||||||
let resolver_add = SocketAddr::from(([127, 0, 0, 1], 8080));
|
let resolver_add = SocketAddr::from(([127, 0, 0, 1], 5353));
|
||||||
let _ = tokio::join!(
|
let _ = tokio::join!(
|
||||||
udp_listener_loop(resolver_add),
|
udp_listener_loop(resolver_add),
|
||||||
tcp_listener_loop(resolver_add)
|
tcp_listener_loop(resolver_add)
|
||||||
|
|
Loading…
Reference in a new issue