NextGen Knowledge Center

Connect Through a Proxy Server

If you are unable to allow outbound internet access for the machine that Mirth® Connect by NextGen Healthcare is running on, another option is using an HTTP web proxy or firewall that supports HTTP CONNECT proxy requests. To do this, edit either the mcserver.vmoptions or mcservice.vmoptions file, depending on whether you're running mcserver directly, or using the service/daemon to run mcservice.

Add the following options:

-Dconnect.license.proxy.host=thehost
-Dconnect.license.proxy.port=theport

Replace "thehost" and "theport" with the actual hostname/IP and port of your HTTP proxy server. If your proxy server requires Basic Authentication, you can specify those credentials with these options:

-Dconnect.license.proxy.username=theusername
-Dconnect.license.proxy.password=thepassword