Skip to content

Commit fa28d4f

Browse files
authored
Use 0.0.0.0 as the default address for server (#254)
1 parent c285b1c commit fa28d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ impl Server {
271271
.long(Self::ADDRESS)
272272
.env("P_ADDR")
273273
.value_name("ADDR:PORT")
274-
.default_value("127.0.0.1:8000")
274+
.default_value("0.0.0.0:8000")
275275
.value_parser(validation::socket_addr)
276276
.help("The address on which the http server will listen."),
277277
)

0 commit comments

Comments
 (0)