Network, ports and firewall
Which ports the server listens on, which hosts it calls, and what the clients need to reach.
This page is for the people who run the network around M.App Enterprise. It lists what must be reachable: towards the server, from the server, and from the devices of your users.
Towards the server
| Port | Used for | Note |
|---|---|---|
| TCP 443 (HTTPS) | Everything the users and administrators do: Apps, Studio, Management, the interfaces for the desktop and mobile apps, workflows. | The installer binds the certificate you select to this port. |
| TCP 80 (HTTP) | The web site also answers on port 80. | Open it only if you need it, for example for a redirect to HTTPS. |
| UDP 42000 | License requests from Luciad Fusion. | Only if you use Luciad Fusion. See below. |
The installer does not create firewall rules for ports 80 and 443. If the Windows firewall on the server blocks them, add the rules yourself.
All clients use the same address and port. There is no separate port for the desktop app or the mobile app.
Luciad Fusion
If you enter a Luciad Fusion address during the installation, the installer creates the inbound firewall rule M.App Enterprise Fusion License Server for UDP port 42000. The Windows service M.App Service answers the license requests of Luciad Fusion on this port. The service starts to listen when it starts and finds a Luciad Fusion address in the settings. Without an address neither the rule nor the listener exists.
If you enter the address later, in Management under Settings, restart the service M.App Service and create the firewall rule yourself. See Server settings in Management.
If Luciad Fusion runs on another machine, UDP 42000 must be open from that machine to the M.App Enterprise server, and the M.App Enterprise server must reach the address of Luciad Fusion. See Lesson 1b: Installing Luciad Fusion for MAE.
From the server
| Target | Port | Used for | If it is blocked |
|---|---|---|---|
| Your database server | The port of your database, for example 1433 for SQL Server, 1521 for Oracle, 5432 for PostgreSQL | The master database and the databases of all tenants. The Tile Service uses the same databases. | Nothing works. |
maelicensing.hexagon.com | TCP 443 | The service M.App Service reports usage and loads your charges once a day. Management asks the same host for the latest version. | With a license that is not permanent, access is declined after two months without a successful sync. See License, charges and usage. |
api.phrase.com | TCP 443 | Language files for the user interface. Loaded during the installation and when you add or update a language in Management. | The list of languages cannot be loaded, and languages cannot be added or updated. Installed languages keep working. An update that fails removes the language. See Languages. |
| Your mail server | The port from the mail settings. The installer suggests 25. | E-mails for account activation and password reset, and e-mails sent by workflows. | Users do not receive these e-mails. The error is written to the log. |
| Luciad Fusion | The address you configured | 3D and imagery services published through Luciad Fusion. | These services cannot be created or loaded. |
| Geoservices you register in Studio | The address of the service, usually TCP 443 | When you connect a WMS, WMTS or WFS in Studio, the server reads the capabilities of the service. | The service cannot be registered. |
| Your identity provider | TCP 443 | Only with Entra ID, OpenID Connect or SAML: sign-in and reading users and groups. | Users of that provider cannot sign in. |
The server and the Tile Service also need the warehouse folder. If it is a network share, both must reach it with the account they run under. See Backup and restore for what the folder contains.
The Tile Service has no port of its own. It picks up its jobs from the database and writes the caches into the warehouse folder.
From the devices of your users
| Client | Needs to reach | Note |
|---|---|---|
| Browser (Apps, Studio, Management, browser apps) | The server on TCP 443 | Nothing is installed. |
| Browser apps with external services | The address of every external WMS, WMTS or WFS in the app | The browser requests these services directly. The request does not pass through the M.App Enterprise server. A service that only the server can reach does not show up in the app. |
| Desktop app | The server on TCP 443 | The launcher and all program files are downloaded from the server. |
| Mobile app | The server on TCP 443, and the app store for the installation | The device must reach the server to sign in and to synchronize. See Documentation 17. |
Docker
In a container the web site listens on port 80, and the image exposes UDP port 42000 for Luciad Fusion. Publish the ports you need and put HTTPS in front of the container. See Deploying M.App Enterprise with Docker.
Checklist for a new installation
- Port 443 is open from the users to the server, and the certificate matches the name the users type.
- The server reaches the database server.
- The server reaches
maelicensing.hexagon.comon port 443. If your network uses an outbound proxy or an allow list, add this host. - The server reaches the mail server, if users should activate accounts or reset passwords by e-mail.
- With Luciad Fusion: UDP 42000 is open towards the server.
- The browsers of your users reach the external map services used in your apps.