1

I'm running mirth on Azure VM (Windows Server 2016) and trying to get HL7 messages from Meditech. Not really familiar with tcp/ip concept so help is appreciated here. When Meditech sends HL7 messages to my server (VM), how should I configure the setting in mirth's channel?

For example, in Listener Settings panel,

1.Select Specific interface and put my VM's public ip address.

2.Put port number I set in inbound rule in Local Port

or do I put Meditech's ip address and port number in Listener Settings?

bbusdriver
  • 1,577
  • 3
  • 26
  • 58

1 Answers1

5

TCP/IP is pretty simple. From the sending system, you specify the destination IP address and port # that you want to send to. From the destination system, you set up your listener to run on a specific port #. In Mirth you can choose to accept messages from any IP (All interfaces) or a specific IP address (specific interface) in the TCP Listener Settings:

enter image description here

So to address your specific example, it sounds like you want a message to go outbound from Meditech to your Mirth instance on an Azure VM. In Meditech, you would enter the Azure server's IP address and port # that you specified in Mirth. In Mirth, you can leave it open to the world and select "All interfaces," or specify your Meditech interface engine's IP address in "Specific interface."

One final thought.. I have never played around with Azure, but I'm sure there are some security settings. (hopefully it is behind a firewall of some sort) You may need to explicitly allow traffic from your Meditech interface engine's IP. If you need further help with that, I would post a new question and tag it under Azure.

atkearns
  • 161
  • 2
  • Very clear answer thank you! so in a nutshell, I would put meditech's ip address in `Specific interface` and my port number in `Local Port` right? – bbusdriver Sep 27 '18 at 02:15
  • No. On the Mirth side You either leave the setting at `All interfaces` or set it to the same IP you have configured on Meditech side as the destination. I would start by leaving it at `All interfaces` unless you have a specific need to set it up otherwise. – Tarmo R Sep 27 '18 at 08:31
  • Okay. you mentioned `or specify your Meditech interface engine's IP address in "Specific interface."` so I thought I had to put meditech's ip address if I decided to use specific interface instead. Also, still a bit confusing as to whether in `Local Port` I need to put my port number or meditech's port number. It's my port number right? – bbusdriver Sep 27 '18 at 16:33
  • 1
    You obviously should get to know some basic TCP/IP networking concepts, before going any further with this. :) To spell it out - on Mirth side select `All interfaces` and a port number, that you like - it doesn't matter, which, but preferably higher than 1024 and not any well-known port. Then on the Meditech side put in your Azure IP and the port you configured in Mirth. Done. Should work now, assuming, that all the firewalls between two systems allow the connection. – Tarmo R Sep 30 '18 at 07:56