[Mapguide-trac] [mapguide-trac] #2881: MgDevHttpServer: Support optional host to listen on

MapGuide Open Source trac_mapguide at osgeo.org
Mon Jul 29 09:26:31 PDT 2024


#2881: MgDevHttpServer: Support optional host to listen on
---------------------------+----------------------
   Reporter:  jng          |      Owner:  jng
       Type:  enhancement  |     Status:  assigned
   Priority:  medium       |  Milestone:  4.0
  Component:  General      |    Version:
   Severity:  trivial      |   Keywords:
External ID:               |
---------------------------+----------------------
 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"
-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2881>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list