Skip to main content

How the Web Address and the Databases Are Connected

On ABM Service Server, every company you add is its own Windows service listening on its own port, connected to one company database of ABM (Advanced Business Manager) and to ABM's control database. The port is what makes the web address: people open http:// followed by the server's name, a colon and the company's port, and the staff the system administrator has allowed to use a web browser sign in with their user name and password.

What is a company's web address on ABM Service Server?​

A company's web address is http://, the server's name, a colon and the company's port, for example http:// followed by your server's name and :5080 for the first company added. ABM Service Server Manager shows each company's port on its line as port followed by the number.

  • Give people the server's name as other computers know it: the name on your network, or the name your own address book or domain gives it. The company answers on every network address the server has.
  • The port is fixed per company, from 5080 upwards unless you chose another. It changes only if you change it in the company's Settings....
  • Windows Firewall is opened for you: adding a company creates an incoming rule for its port, for every network profile, named like the company's Windows service. Removing the company deletes the rule. A firewall other than Windows Firewall, or one between offices, has to be opened by you. Going out, the server needs HTTPS to updates.abm-portal.com, where each company gets the ABM Service web application and its updates, to manage.abm-portal.com, where each company reports to DP Systems and is registered, as How to Connect ABM Service Server to DP Systems explains, and to the AI service if the AI features are switched on; How to Prepare the Server for Attachments and the AI Features lists what each of those features needs.
  • The address serves plain http. ABM Service Server does not install a certificate or answer https by itself; https has to come from something you put in front of the server, such as a reverse proxy.

Opening the address from another computer should show the ABM Service sign-in page, listing the people allowed to use a web browser; while nobody is, it says Staff use ABM Service in the desktop app., or goes on to the customer sign-in when the company has customer sign-ins. If it does not open at all, check the company shows Running in ABM Service Server Manager, and that every firewall between the two computers allows the port.

Can a company's web address have no port number, such as port 80?​

Yes, as long as nothing else on the server uses port 80. A web address with no port number goes to port 80, and the Port box in Add a company and in Settings... in ABM Service Server Manager takes any number from 1 to 65535, so a company given port 80 is reached at http:// followed by just the server's name.

  • The manager checks a port only against the other companies on the server, including stopped ones. It never checks whether another program uses the port. Port 80 is the one Internet Information Services (IIS) and most other web servers use, so on a server that runs one it is probably taken.
  • When another program has the port, the company cannot start its web server: its line in the manager keeps going back to Starting or Restarting, and the child log file shown by Open logs says the port is already in use. Choose another port in Settings..., or free port 80 first.
  • Only one company can have port 80 on a server; the others keep a port number in their addresses.

The Windows Firewall rule the manager makes follows the company's port, so nothing else needs opening on the server itself.

Can I put an SSL certificate on ABM Service Server so the website runs on https?​

Not on ABM Service Server itself: there is no certificate or https setting in ABM Service Server Manager, and each company answers plain http on its own port, on every network address the server has. To give people an https address, or to reach ABM Service from outside the office, put something in front of the company's address that answers https with your certificate and passes the requests on to http:// the server's name, a colon and the company's port, such as a reverse proxy, a gateway or a tunnel service. That is set up separately from ABM Service Server, and your software supplier can advise on it. DP Systems can also set up an internet address for the company on request, which needs nothing in front of the server; How to Connect ABM Service Server to DP Systems describes it.

  • Nothing changes in the manager when you do this: the company keeps its port and address on the server, and the manager starts, checks and updates it exactly as before.
  • Some features need the https address. In a browser, Voice note, and Talk here and Call me back in Log by voice, work only on an https address, because browsers give the microphone only to a secure page. Log by voice and AI assistants such as ChatGPT and Claude also need the company reachable from the internet over https, with every path under the address passed through to the company's port, and the system administrator types that address into ABM Service when switching them on. How to Prepare the Server for Attachments and the AI Features has the details.
  • A proxy on the server itself is believed; one elsewhere is not. A reverse proxy or tunnel running on the same server, passing requests to the company at 127.0.0.1 with the X-Forwarded-For and X-Forwarded-Proto headers, lets the company see each visitor's own address and that they came over https, so the sign-in cookie is marked secure. Those headers are ignored from any other computer: behind a proxy on another machine, every visitor looks like that machine, and the cookie is not marked secure, though the browser's connection is still encrypted as far as the proxy. Keep the plain-http leg between the proxy and the server on the server itself or on your own network.

Can a company answer on only one of the server's network addresses?​

Not from ABM Service Server Manager: a company added in the window answers on every network address the server has, and the Windows Firewall rule the manager makes allows its port on every network profile. To limit which computers can reach a company, use your network's firewall. The manager deletes its own Windows Firewall rule and makes it again each time the company's settings are saved, so a change made to that rule does not last.

The one exception is a company that only a reverse proxy on the same server should reach. The command-line add accepts /bind:127.0.0.1, which makes the company answer only on the server itself, so the network reaches it only through the proxy:

ABM.Service.Server.Manager.exe add /instance:<name> /connection:"<company database connection string>" /control:"<ABMControl connection string>" /bind:127.0.0.1 /quiet
  • It is chosen when the company is added. Settings... and the set command keep it and cannot change it. To change it later without removing the company, change the address after BindAddress in that company's settings file, instance.json, to 127.0.0.1 for the server alone or 0.0.0.0 for every network address, the same way as the log retention in How to Read the ABM Service Server Logs: keep a copy of the file first, and restart the company's Windows service straight away, because the company reads the file only when its service starts.
  • Use no address other than 127.0.0.1. The company checks its own web server at 127.0.0.1 whatever it is bound to, so a company bound to one of the server's network addresses fails that check every time, shows Unhealthy, and has its web server restarted every few minutes.

Which databases does each company on ABM Service Server use?​

Each company uses two databases: its own company database, where the calls, customers and everything else people work on are kept, and the control database, usually called ABMControl, which lists ABM's users, their passwords and which companies each of them may open.

  • The company database is the one picked or typed in Add a company. One company on the server is always one company database.
  • The control database is read only to sign office staff in. Customer portal sign-ins are kept in the company database and do not use it. ABM Service Server works out which company entry in the control database the company database belongs to by itself, from the company database, so nothing about it is typed in the manager.
  • The connections are SQL Server logins, stored on the server encrypted for that machine. Copying the files to another machine does not carry working passwords with them. Add a company can make the login for you: one per company, named abmservice_ followed by the company's service name, an underscore and six random characters, that may read and write the company database, add ABM Service's own tables to it and run ABM's procedures, and only read four tables in the control database.
  • The connection is not forced to be encrypted, because older SQL Server versions at many sites cannot do it; it is encrypted when the SQL Server insists on it.

In a SQL Server trace or activity list, ABM Service's connections show the application name Unified ABM Service, so a database administrator can tell them from ABM's own programs.

Where does ABM Service Server keep the SQL passwords, and are they in the logs?​

Each company's two SQL Server connections, logins and passwords included, are kept in two files in that company's own folder, C:\ProgramData\ABM Service\Server\service\ followed by the company's name: connection.dat for the company database and control.dat for the control database. Each file holds the whole connection, encrypted with Windows' own data protection for that machine (DPAPI at machine level). ABM Service Server writes them nowhere else.

What that protects, and what it does not, for an auditor:

  • A copy taken off the server cannot be read. A backup, a copied ProgramData folder, a file sent to support or a disk taken out of a dead server does not carry a usable password, which is also why a company cannot be moved by copying its folder.
  • It is not a secret from the server itself. Any administrator, and any program running on that server that can read the file, can decrypt it. The server data folder can be read only by administrators, the system and the companies' own Windows services; Windows Explorer cannot open it even for an administrator, but an elevated command prompt can.
  • The launcher log never shows a password or a login. When the company's Windows service reads a connection it writes one line naming only the SQL Server and the database.
  • The child log can show a login name, never a password. It is the web server's own output, and its errors are written word for word, so when SQL Server refuses a login its message names the login it tried.
  • The server manager's log, manager.log, names each SQL login the Server Manager made or copied as a script, with its SQL Server and databases, never its password. The password is shown only in the Add a company window, behind Show, and in the script that makes the login.

Changing a password is done with Settings... in ABM Service Server Manager, which writes the file again.

Who can sign in to ABM Service over the web?​

Only the staff the system administrator (user 1) has ticked under Who may use ABM Service in a web browser, on Administration › Sign-in in ABM Service, can sign in with a web browser, and only while they are in ABM's own user list, have a password there and have been given this company in ABM. They sign in with their user name and password, the same ones they use in ABM. The ABM Service desktop app is for everyone and is not affected by the list.

  • Nobody is ticked at first, on a new installation and on a company updated to this version alike, so nobody can sign in with a web browser until the system administrator ticks them, in the desktop app. Each tick is saved as it is made.
  • The list covers every browser sign-in: at the server's own address in the office, at an address you publish yourself, and at an internet address DP Systems set up. Customers sign in to the Customer portal, on the same web address, whatever it says.
  • ABM's user list still decides the rest. ABM Service Server reads the user, the password and the company from the control database each time someone signs in, so changes made in ABM's own user list apply at that person's next sign-in. Neither the ABM Service Server setup nor ABM Service Server Manager adds users, sets their passwords or ticks anybody.

Somebody who is already signed in stays signed in until they sign out or leave it unused for thirty days; a restart or an update of the company does not end it, because web sign-ins are kept in the company database. Somebody marked as removed in ABM's user list, whose password changes there, or who is unticked, is signed out within five minutes, and an AI assistant that an unticked person connected stops at its next refresh. To make everyone sign in again at once, the system administrator presses Sign everyone out… on Administration › Sign-in; restarting the company does not do it.

The system administrator can also require an authenticator app for every web sign-in, on Administration › Sign-in, where a line recommends it while anybody is ticked and it is Off, and can give the service company's own customers access to the Customer portal.

What does the ABM Service sign-in page say when a person is refused?​

The ABM Service sign-in page lists only the people ticked to use a web browser, leaving out anybody whose name is marked as removed in ABM. With nobody ticked it says Staff use ABM Service in the desktop app., or goes on to the customer sign-in when the company has customer sign-ins. When a person is refused, the page says why:

  • That name and password did not let you in. Check them, or ask your system administrator whether you may use ABM Service in a web browser. for a wrong password, and word for word the same for a person who is not ticked, or while the company database is being brought up to date or is not answering, so nobody learns whether a guessed password was right.
  • This user has no password yet. Please ask your system administrator to set one. for a blank password in ABM.
  • This company has not been given to this user. Please ask your system administrator. when the person may not open this company.
  • The list of people did not answer. Try again in a moment. when the control database cannot be reached; its Details name that database followed by did not answer.
  • The company database's server and name followed by did not answer. when the company database cannot be reached, which the page can say as soon as it opens, because it reads from that database who may use a web browser.

What to check for each of these messages is in What to Check When ABM Service Server Goes Wrong.

Can I run several companies on one ABM Service Server?​

Yes. Add each company separately in ABM Service Server Manager: each gets its own Windows service, its own port and so its own web address, and each is started, stopped, updated and removed on its own. There is no single address that serves them all with a choice of company: each company's sign-in page lets in only the people ABM has given that company and its system administrator has ticked to use a web browser, so give each group of people the address of their company.

  • They share the versions of the web application the server has downloaded, so each version is downloaded once, but each company updates on its own: after Update now under one company, that company can be on a newer version than the others. Apply at... sets the nightly apply time for every company answering the manager at that moment; a company added later keeps midnight until you set it again.
  • A person signed in to one company is not signed in to the others, even in the same browser: each company keeps its own sign-in.
  • A problem in one company does not stop the others: removing, stopping or restarting one leaves the rest serving.
  • Updating the service software stops them all together for about ten seconds, because they share it.

Two companies cannot share a port. The manager refuses a port already given to another company, including one that is stopped.

How many users does the server manager say are connected?​

The number on a company's line in ABM Service Server Manager counts the different network addresses that used that company in the last five minutes, not sign-ins. It is a guide to how busy the company is. The manager does not show who those people are, and has no button that signs anybody out; Restart under the company does not sign anybody out either. Signing everyone out is the system administrator's Sign everyone out… on Administration › Sign-in in ABM Service.

Everyone who reaches the server through one address counts as one: the people on one Remote Desktop server, the people behind one router, and everyone coming through a reverse proxy on another computer. A proxy or tunnel on the server itself that passes on each visitor's address, such as the internet address DP Systems can set up, is counted by those visitors' own addresses instead. One person using both a laptop and a phone counts as two. The AI service calling back while someone is on a call to a voice agent, and a connected AI assistant such as ChatGPT or Claude, count too, by the address they come from. Update now shows the same number before it restarts a company, so you can see whether anybody would be interrupted.

How do I point our network monitoring at a company on ABM Service Server?​

Point your monitoring tool at two addresses on each company's port, both answered without anyone signing in: the company's web address followed by /health, which says whether its web server is up, and followed by /health/db, which says whether it can reach its company database. For a company on port 5080 of a server named abmserver, those are http://abmserver:5080/health and http://abmserver:5080/health/db. ABM Service Server sends no alerts of its own, so this is the way to be told when a company goes down.

  • /health gives a normal answer (status 200) containing the word ok whenever the web server is running, with the number of people using the company and a list of any problems a person has to fix, such as a company with no ABM control database connection, where nobody can sign in, or a change ABM Service could not make to the company database. A problem does not change the status, so have the monitor read the text too if you want those. No answer at all means the company is stopped, restarting or unreachable on the network.
  • /health/db answers normally, with ok, when the company can run a simple query on its SQL Server, and with status 503 (Service Unavailable) and SQL Server's own reason when it cannot. It is the same check behind the red database: not answering since line in ABM Service Server Manager.

Watch both. Checking only that the sign-in page opens, or that the company's Windows service is running, misses a company whose company database has stopped answering, and the Windows service keeps running while it restarts a web server that has stopped.

What do card payments and feedback need at this site?​

Card payments need outgoing HTTPS to Stripe and a public HTTPS address where Stripe can report results to the correct company. Feedback needs outgoing HTTPS to DP Systems’ feedback service, and the company registered with DP Systems, which needs outgoing HTTPS to manage.abm-portal.com. These connections are separate from the application update feed.

Prepare the network before the system administrator (user 1) sets up Payments under Administration. Feedback has no setup: it starts when DP Systems confirms the company's registration, and the system administrator can switch it off on Administration › DP Systems. The addresses and checks are described in How to Prepare Card Payments and Feedback.