Opened 4 months ago
Closed 4 months ago
#2881 closed enhancement (fixed)
MgDevHttpServer: Support optional host to listen on
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | medium | Milestone: | 4.0 |
Component: | General | Version: | |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
MgDevHttpServer is currently hard-coded to always listen on "localhost". While this is generally the safe and correct setting, it does hamper its usability when run inside a docker container, where you want to bind on "0.0.0.0" to be accessible outside the docker container.
To support this, MgDevHttpServer should support an optional --host
parameter that controls what host the http server will listen on. If not specified, it will assume the default value of "localhost"
Note:
See TracTickets
for help on using tickets.
In 10091: