nextgenhealthcare / connect

The swiss army knife of healthcare integration.
Other
914 stars 275 forks source link

httpsHost is always 0.0.0.0, does not use the mirth.properties http(s).host constraint #6103

Open DevSysEngineer opened 7 months ago

DevSysEngineer commented 7 months ago

Dear Mirth Connect team,

I have configured my Mirth Connect instance to bind only to localhost/127.0.0.1 interface. But when I do that, I can't log into the web dashboard. I can log in using the Administrator launcher without any problems. When I configured my instance to 0.0.0.0 in http.host and https.host property, the web dashboard worked as expected.

When I looked at your code base I found that httpsHost will not overwrite and is always 0.0.0.0. https://github.com/nextgenhealthcare/connect/blob/155ef8155f5b374587f73e054902b6d286002af2/webadmin/src/com/mirth/connect/webadmin/action/IndexActionBean.java#L41C16-L41C25

DevSysEngineer commented 6 months ago

Dear Mirth connect team,

Did you need any more information from my side? Or did you want me to create a pull request?