Connecting imaging modalities to Orthanc over DICOM

A practical guide to connecting CT, MR, ultrasound and other modalities to Orthanc over classic DICOM networking, from AET, IP and port records to C-ECHO tests before the first study is sent.

On this page

How a modality connects to Orthanc over classic DICOM

When a clinical or imaging team needs CT, MR, ultrasound or other modalities to send studies to an Orthanc archive they run, the supported method is classic DICOM networking. Each side identifies the other by its AET, IP address and DICOM port, and Orthanc is configured as a target DICOM server on the modality. Orthanc's default configuration creates a DICOM server with AET ORTHANC on port 4242, alongside an HTTP server for the REST API on port 8042. The DICOM port is the one a modality must reach; the REST API port is for administrators, viewers and scripts and does not carry modality traffic.

The modality side of the connection is configured on the device itself, and the menu paths differ by manufacturer and software version, so the team should take them from the vendor's documentation rather than from general guidance. What the team must hold in hand before the session is a short record: the modality's AET, its IP address and the port it listens on for incoming DICOM, plus the Orthanc host's address, its AET and its DICOM port. Confirm with the modality vendor whether the device requires a specific AET format, whether it expects the receiver's AET to match exactly, and whether it sends to a single destination or several.

Before any study is sent, the team should confirm that the network path exists and that the two AETs and ports match on both sides. Orthanc must be able to accept incoming connections on its DICOM port, and the modality must be able to reach that address. Decide early whether Orthanc's DICOM port, AET and modality entries will be documented in the same change record used for firewall approval, because the modality entry in Orthanc's DicomModalities configuration and the matching target on the device are the two halves that must agree. The C-ECHO test described in the next section is the check that proves the pairing works end to end.

What you need before the first modality is pointed at Orthanc

Pointing a modality at Orthanc is a configuration task on two systems, but it depends on decisions made outside both of them. The cards below list what to confirm with your imaging, network and vendor teams before anyone edits a configuration file.

A running Orthanc with its DICOM server reachable

Orthanc's default configuration creates a DICOM server with AET ORTHANC on port 4242, plus a REST API on port 8042. Confirm which AET, port and listening interface your deployment uses, and that the DICOM server is up before you test anything. Check that the DICOM port is listening on the address the modality will reach, since a server bound only to localhost will look healthy while every modality fails.

Configuration docs

AET, IP address and port for each modality

Every modality needs its AET, IP address and DICOM port recorded on the Orthanc side and on the modality side. Ask the imaging team to confirm these values from the device itself, not from a hospital inventory, because AETs are often reused or renamed after a unit is moved. Keep one owned register of these values so that Orthanc's modality list and the modality's remote node list cannot drift apart.

Network routes and firewall approval

The modality must be able to open a TCP connection to Orthanc's DICOM port, and Orthanc must be able to reply to it. Request the firewall change for the specific source IP and destination port, not a broad subnet opening, and confirm whether any intermediate device inspects or rewrites DICOM traffic. Ask the network team to confirm the route in both directions before the change window, since a one-way route will still fail at the C-ECHO step.

Access to modality network configuration screens

Configuring Orthanc as a target on the modality happens in the device's own service or network menu, which is often restricted to field engineers or the vendor. Confirm who holds the administrator credentials, whether a change needs a service visit, and whether the unit stores its remote node list in a way that survives a software update. Without this access, the Orthanc side can be complete while the study transfer never starts.

Vendor confirmation of DICOM services and AET limits

Each modality vendor should confirm which DICOM services the unit supports, such as storage, query and retrieve, and worklist, and the maximum length it accepts for an AET. Some units truncate or reject longer names, and a mismatch can break association setup without a clear error. Get this in writing from the vendor, along with any conformance statement for the model and software version installed.

The Orthanc version checked against release notes

Confirm the Orthanc version you will deploy against the current release notes rather than assuming the behavior of an older build. The current release at the time of writing is 1.13.0, released on 2026-08-15, and it includes a rewrite of DICOM parsing and transcoding. Record the exact version in your change ticket so that a later upgrade can be tested against the same modality configuration.

Orthanc NEWS file

Configuration sequence from AET to first study

This sequence takes a modality from unknown to exchanging studies with Orthanc in verified steps. Each step ends with a check, so a failure is found and fixed before the next layer depends on it.

  1. Record each modality's network identity

    The imaging or IT team collects each modality's AET, IP address and DICOM port from the device's network settings or its service engineer, and records the Orthanc host's IP address, AET and DICOM port alongside them. Keep the values in one shared table so every later step uses the same source. The step is done when every modality has a complete row and someone other than the author has checked the values against the device screens.

  2. Set the Orthanc DICOM identity and open the port

    The Orthanc administrator sets the DICOM AET and DICOM port in the Orthanc configuration file, which by default creates a DICOM server with AET ORTHANC on port 4242. The network team then allows inbound TCP traffic from each modality's IP address to that port on the Orthanc host and any firewall between them. Confirm the exact configuration keys for the deployed Orthanc version in the configuration documentation before editing. The step is done when Orthanc restarts cleanly and the port answers on the host, for example in a listening-socket check run from the server itself.

  3. Declare each modality in DicomModalities

    The Orthanc administrator adds an entry for each modality in the DicomModalities section, giving the modality's AET, IP address and port under a short, stable internal name. Use the syntax shown in the configuration documentation for the deployed version, because the entry format changes between releases and mistakes often appear as silent non-connections. Restart Orthanc or reload the configuration as the version requires. The step is done when each modality appears in the Orthanc configuration as loaded, with no parsing errors in the Orthanc logs.

  4. Point the modality at Orthanc as its target

    A technician on the modality side adds Orthanc as a DICOM destination, entering the Orthanc AET, IP address and DICOM port exactly as declared. Modality menus differ widely, so the vendor's documentation or the service engineer should confirm the required fields and whether the AET is case sensitive. The step is done when the modality's own connectivity or verification function reports the destination as reachable.

  5. Run C-ECHO from Orthanc to each modality

    From the Orthanc side, trigger a C-ECHO to each declared modality using the Orthanc REST API or Orthanc Explorer 2, which tests whether Orthanc can open a DICOM association to the device. Record the result for each modality. A failure usually points to the AET, IP, port or a firewall rule on the path, so check the step 1 table and the firewall before retrying. The step is done when every modality returns a successful echo.

  6. Run C-ECHO from each modality to Orthanc

    Trigger the verification or echo function on each modality so the device contacts Orthanc. This confirms the reverse path, which is often the one that fails because a firewall rule allows outbound traffic but not the inbound connection to port 4242. Check the Orthanc logs at the same time to confirm the association was received from the expected IP address and AET. The step is done when each modality's echo succeeds and the log entry matches the declared identity.

  7. Send one test study before live traffic

    Select one non-clinical or agreed test study on a modality and send it to Orthanc as a single transfer, then confirm it appears in Orthanc Explorer 2 with the expected patient, study and series structure. Check that the stored instance count matches what the modality sent and that the study can be opened in the viewer. Remove or flag the test study according to local policy once the check is complete. The step is done when the study is visible, complete and documented as the first successful transfer for that modality.

How the modality, firewall and Orthanc parts fit together

The flow starts at the modality, which holds Orthanc's AET, IP and port in its own configuration. Traffic crosses the hospital network and the firewall rule that allows Orthanc's DICOM port, which is 4242 by default. Orthanc matches the calling modality against its DicomModalities declaration, answers a C-ECHO, and then receives C-STORE transfers. Clinicians reach the studies through the REST API on port 8042 and a viewer, and that path is separate from the DICOM network path.

Modality traffic reaches Orthanc's DICOM port through a firewall rule, while viewers use the REST API.

Which values must match on each side of the link

This table maps each identifier to the place where it is recorded on the Orthanc side and on the modality side, so you can check both configurations against the same values. Read each row as a pair: a value entered on one side must match what the other side expects, and a mismatch usually fails silently at association setup.

IdentifierRecorded on the Orthanc sideRecorded on the modality side
Modality AETEntry in DicomModalities for the modality, as the name Orthanc uses to identify itLocal AE title the modality presents when it sends or queries
Modality IP addressAddress Orthanc stores for the modality and uses to open connections back to itAddress of the Orthanc host as seen from the modality network
Modality portPort Orthanc stores for the modality, used for C-STORE and C-FIND callbacksLocal DICOM listening port on the modality, if it accepts incoming associations
Orthanc AETLocal AE title in the DICOM configuration, ORTHANC by defaultCalled AE title or remote node name configured as the destination
Orthanc DICOM portDICOM port on which Orthanc listens, 4242 by defaultRemote port configured as the destination for Orthanc
Source AET sent by the modalityMust appear in DicomModalities so Orthanc accepts the associationCalling AE title the modality presents on each association with Orthanc

Firewall rules and routing for port 4242

Inbound traffic to Orthanc's DICOM port, 4242 by default, should be allowed only from the IP addresses of the modalities you have registered. Each modality's AET, IP and port are recorded in the Orthanc configuration, and the firewall rule should match that same source address, so a device that is replaced or re-addressed does not quietly gain or lose access. Check the return path as well. Orthanc answers on the connection the modality opened, so the firewall or stateful inspection on both sides must permit the reply traffic. Between imaging VLANs and clinical networks, confirm every router, switch access list and firewall segment on the route, since a rule that works on the Orthanc host can still be blocked one hop away. Confirm these details with your network team against your own topology, because the path depends on your environment.

The REST API port, 8042 by default, should stay closed to the modality network. Modalities only need the DICOM port, and opening the HTTP interface to them widens the attack surface without a clinical need. Keep remote access to the REST API limited to the workstations and services that need it, and treat that as a separate rule with its own approval. Where a modality must reach a service other than Orthanc, such as a worklist provider, write that as its own flow rather than extending the storage rule.

You will choose between one rule per modality and a rule that covers a whole imaging segment. One rule per modality gives the tightest control and clear audit records, but it grows with every device and needs maintenance when devices change. A segment-based rule is simpler to operate but lets any device placed in that segment reach Orthanc, so it depends on strict network admission controls. Whichever you choose, the security team should record the approval, the source addresses or segment, the business owner and the review date in the change record. Ask the security team to confirm the decision in writing before the rule goes live.

Hardening the modality link

A modality connection is a standing network path into your archive, so the settings around it deserve the same review as the connection itself. The cards below cover who Orthanc will talk to, how that traffic is protected, and which administrative routes must stay closed.

Restrict DicomModalities to known peers

Each entry in DicomModalities should match one device you have approved, with its AET, IP address and port recorded from the device owner. Remove test entries and stale devices when equipment is replaced. Review the list whenever a modality is moved, renamed or retired, because an unlisted AET should not be able to send or query studies. Confirm with your network team that the firewall allows only the expected source addresses to reach port 4242.

Modality integration docs

Enable DICOM TLS for inter-site links

Orthanc supports DICOM TLS for exchanges between sites starting with version 1.9.0, so links that leave your building can be encrypted at the DICOM layer. Plan certificate issuance, trust distribution and rotation before enabling it. TLS must be supported and configured on the modality side too, so confirm with the device vendor which DICOM TLS profile the equipment supports before you promise encryption to a site.

Security FAQ

Keep the REST API local or authenticated

By default Orthanc accepts HTTP connections only from localhost. If you enable RemoteAccessAllowed, set AuthenticationEnabled to true, define users in RegisteredUsers, and place the API behind HTTPS and a reverse proxy. Modalities need only the DICOM port, so the REST port (8042 by default) should not be reachable from the modality subnet. Verify this with a scan from that subnet after every network change.

Security FAQ

Disable script and export routes

The /tools/execute-script route can let a malicious user run any system command on the server, and the export route can overwrite files. Both should stay disabled in production, including on test servers that hold real studies. Check the effective configuration after each upgrade or container rebuild, since a copied sample configuration can reintroduce them. Ask your security team to include these routes in the findings of any penetration test of the archive.

Security FAQ

Log and review association attempts

Every C-ECHO, C-STORE and C-FIND is an association attempt that the archive can record, and those records show which devices connect, when, and whether they were accepted. Decide where Orthanc logs go, how long they are kept, and who reviews rejected associations from unknown AETs. Test the logging by deliberately connecting from an unlisted test AET and confirming the attempt appears. Retention periods should follow your own policy and any regulation that applies to your organization.

Confirm the modality side with the vendor

Hardening Orthanc does not secure the scanner's own configuration. Ask the device vendor which AET the modality uses, whether it can restrict its own destinations, and whether it supports DICOM TLS, certificate formats and cipher settings. Record the answers in the change ticket, along with the firmware version, so a later upgrade of either side does not silently break the link. Vendors that cannot answer these questions should be treated as a risk to be documented.

Both must be configured
2 sides

Common failures when a modality cannot reach Orthanc

This table pairs each common failure with its likely cause, a check the team can run, and the fix. Work through the rows in order, because a timeout usually points to network path problems while a rejected association points to configuration on one side. Confirm each value on both the modality and Orthanc before changing anything.

SymptomLikely causeCheck to runFix
C-ECHO times outFirewall or routing blocks the DICOM port (4242 by default) between the modality and OrthancFrom the modality network, test whether the Orthanc IP and port accept TCP connections, and confirm the return route from Orthanc to the modalityAllow inbound traffic on Orthanc's DICOM port from the modality address, and fix the routing or NAT path in both directions
Association rejectedThe modality's AET or IP is not declared in Orthanc's DicomModalitiesCompare the calling AET and source IP in the Orthanc log with the entry under DicomModalitiesAdd or correct the modality entry in DicomModalities with its exact AET, IP and port, then restart or reload Orthanc as your version requires
Association rejected or no reply, with Orthanc as the targetOrthanc is not declared as a target on the modality, or the modality uses the wrong Orthanc AET or portCheck the modality's remote node settings for AET ORTHANC (default), the Orthanc IP and port 4242, and confirm they match Orthanc's configurationCorrect the remote node entry on the modality, then repeat C-ECHO before sending any study
Studies arrive but do not appearWrong target AET in the send job, so the images went to another node or were refusedCheck the destination AET in the modality's send job and the Orthanc log for the received instancesPoint the send job at the AET Orthanc actually listens on and resend a single test study
Studies arrive but do not appearThe modality proposes a transfer syntax that Orthanc does not accept, so instances are droppedReview the rejected presentation contexts or transfer syntax errors in the Orthanc log for the test studyChange the modality to a transfer syntax Orthanc accepts, or adjust Orthanc's accepted syntaxes, then retest with one study
Wrong port on one sideThe modality sends to a port that does not match Orthanc's DICOM port, or Orthanc was changed from 4242 without updating the modalityRead DicomPort in Orthanc's configuration and the port in the modality's remote node entry, then compare them directlyAlign both sides to the same port, and reflect any change in the firewall rule
Modality sends under a different AETThe modality's own calling AET differs from the value declared in DicomModalities, so Orthanc rejects it as unknownConfirm the calling AET the modality presents in its outgoing configuration and in the Orthanc log during a C-ECHOSet the modality's local AET to match the declared name, or declare the name it actually uses in DicomModalities

Questions teams ask before connecting modalities

How long does it take to connect one modality to Orthanc?

The time depends less on Orthanc than on the people and approvals around it. No researched figure is available for a typical duration, so ask your team or a partner for an estimate based on your environment. The main drivers are how many devices you are connecting, whether the modality vendor must make changes remotely or on site, how long your firewall change approval takes, and how much test time you schedule for C-ECHO and sample studies. Connecting several devices at once usually shares the same firewall request and test window, so one approval cycle can cover more than one modality.

Can our own IT team connect a modality to Orthanc?

Yes, a hospital team can do this in-house if it has access to the modality's network settings and the vendor's help. The work itself is small: record the modality's AET, IP address and DICOM port, allow traffic to Orthanc's DICOM port, add the modality under DicomModalities in Orthanc's configuration, and configure Orthanc as the target on the modality. The vendor's engineer usually holds the modality side, so agree on that contact early. Clear network records and a written change log make the work easier to repeat and to audit later.

What does a partner's fee for connecting modalities depend on?

DeployOpen does not publish a price list. A quote follows from a written scope agreed before work starts, and most engagements are fixed-scope. The main cost components are the number of modalities, the number of sites, vendor coordination effort, firewall and network changes that your team or a third party must make, testing and documentation, and any follow-up support you want. Ask for the quote to list which items are one-time setup and which are recurring support, and who is responsible for each vendor-side change. Ongoing support and retesting are available as retainers.

What information must we provide before modality connection starts?

Collect the following for every modality and for the Orthanc server before the work begins:

  • The modality's AET, IP address and DICOM port, plus the AET and port Orthanc will use
  • The network path between the modality and Orthanc, including VLANs, firewall zones and any proxies
  • Named contacts for the network team, the modality vendor and the clinical owner of the device
  • A test window agreed with clinical operations, so that test studies do not reach production workflows unexpectedly
  • Change approval steps and lead times from your firewall or change board

Having these ready removes most of the back-and-forth that slows a connection down.

Is TLS required for DICOM traffic inside our hospital network?

TLS is not a default requirement for every internal link, but it should be assessed for each connection. Orthanc supports DICOM TLS encryption for inter-site exchanges starting with version 1.9.0, so you can encrypt traffic that crosses sites or untrusted segments. Internal traffic still carries electronic protected health information, so your risk assessment and security policy should decide whether a given modality link needs encryption, certificates or network isolation. Confirm with your modality vendor whether their device supports DICOM TLS at all, because a link cannot be encrypted on one side only.

How do we verify that a modality connection works?

Verify the connection in stages before sending any study. First, run a C-ECHO from the modality to Orthanc and from Orthanc to the modality, which confirms that both AET and port settings are correct and that the firewall allows traffic. Second, send one test study and confirm it appears in Orthanc with the expected patient, study and series data. Third, check Orthanc's logs and the modality's transmission log for errors. Record the results, including the Orthanc version and the configuration change made, so the test can be repeated after upgrades or firewall changes.

Which Orthanc settings and ports must we check first?

By default Orthanc creates a DICOM server with AET ORTHANC on port 4242 and an HTTP REST API server on port 8042. Check that the DICOM AET and port in Orthanc match what the modality expects, and that the modality entry in DicomModalities uses the modality's correct AET, IP address and port. Only allow the DICOM port from the modality's address, and keep the REST API port restricted, because by default Orthanc only accepts HTTP connections from localhost. Confirm your Orthanc version and configuration file location against the official configuration documentation before editing settings.

How DeployOpen scopes modality connections

DeployOpen plans every modality connection in a written scope before any change is made. The scope lists each modality by its AET, IP address and DICOM port, the Orthanc side of each pairing, the firewall rules needed to allow traffic to Orthanc's DICOM port (4242 by default), the entries to be added to DicomModalities and the C-ECHO test sequence that must pass before any study is sent. Agreeing these items in writing lets your network, security and clinical engineering teams review the exact changes that will touch your environment. Work then runs inside your own network, under your change control and with your staff on the systems, so the data path and approval records stay with you.

DeployOpen is not a modality vendor. Changes on the scanner, ultrasound unit or MR console depend on the access the manufacturer gives your team or its service engineers, and on the vendor's documentation for registering a DICOM destination. Ask each vendor early which settings they require, whether they need a service visit or a remote session, and whether a configuration change voids a service agreement. The scope should record which device-side steps are your responsibility, which belong to the vendor, and which DeployOpen will verify from the Orthanc side. Where the vendor cannot confirm a setting, the scope should say so rather than assume it.

How DeployOpen works on this

DeployOpen plans, implements, tests, documents and supports self-hosted Orthanc inside your own network, so modality connections are scoped in writing before any firewall or configuration change is made. Each connection is built against a written list of AETs, IP addresses and ports, then verified with C-ECHO and test studies before clinical traffic is allowed.

How we scope

  • We record every modality's AET, IP address and DICOM port in a written connection inventory agreed before work starts.
  • The written scope lists which modalities, Orthanc instances and firewall segments are covered, and which are excluded.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any configuration begins.

How we build

  • We configure the DicomModalities entries on Orthanc and agree the matching target settings on each modality with your staff.
  • We request firewall rules for the Orthanc DICOM port, 4242 by default, limited to the source addresses in the inventory.
  • We test each path with C-ECHO and send sample studies from each modality before the connection is marked ready.

How we hand over

  • You receive the final connection inventory, the Orthanc configuration files and the firewall change record for your review.
  • We document the C-ECHO and C-STORE test results for each modality so your team can repeat them after changes.
  • Runbooks cover adding a modality, changing an IP address and troubleshooting a failed association, written for your own operations team.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainer work can include re-running connection tests after Orthanc upgrades or network changes at your site.
  • Ask any provider to confirm which Orthanc version, network zones and change-control steps their quote covers.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.