HTTP.jl in docker

[SOLVED] so looks like I need to bind to 0.0.0.0 instead on 127.0.0.1 in docker. The following code works in docker

using HTTP
HTTP.listen("0.0.0.0", 8080, verbose = true) do http
        write(http,  "OK")
end
3 Likes