-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server on 0.0.0.0 #44
Comments
Looking at the source code here function serve(s::Server, port = default_port; kws...)
@async @errs run(s; port = port, kws...)
return
end The using HttpServer
using Mux
@app test = (
Mux.defaults,
page(respond("<h1>Hi</h1")),
Mux.notfound())
@sync serve(test, port=1234,host=IPv4(127,0,0,1)) |
amellnik
pushed a commit
to amellnik/Mux.jl
that referenced
this issue
Apr 17, 2018
Fix depwarn on 0.5 and 0.6
amellnik
pushed a commit
to amellnik/Mux.jl
that referenced
this issue
Apr 17, 2018
Merged
This can now be done with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only spawns a Server on 0.0.0.0:1234
how is that changeable ? host=127.0.0.1 in the serve doesnt work
The text was updated successfully, but these errors were encountered: