From e61c2c831d7d79fc2e0c5bae3039ebdb3804256e Mon Sep 17 00:00:00 2001 From: tan Date: Thu, 2 Aug 2018 22:22:52 +0530 Subject: [PATCH] have http rpc server listen on all interfaces --- src/http_rpc_server.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http_rpc_server.jl b/src/http_rpc_server.jl index 9e0a804..d9fe2c6 100644 --- a/src/http_rpc_server.jl +++ b/src/http_rpc_server.jl @@ -250,7 +250,7 @@ function run_http(httprpc::HttpRpcServer{T,F}, port::Int; kwargs...) where {T,F} else Logging.debug("running HTTP RPC server...") end - HTTP.listen(ip"127.0.0.1", port; kwargs...) do req::HTTP.Request + HTTP.listen(ip"0.0.0.0", port; kwargs...) do req::HTTP.Request HTTP.handle(httprpc.handler, req) end end