All pages
Powered by GitBook
1 of 1

Loading...

Configuring MaxScale's REST API

Enable remote management by configuring the MaxScale REST API. Learn to set listening ports, bind addresses, and secure administrative traffic with TLS.

Overview

MaxScale's MaxScale's REST API is used by both MaxCtrl and MaxGUI.

The REST API is enabled by default. However, the default configuration is not optimal for production systems, because:

  • It only allows requests from the local host address by default.

  • It does not use TLS by default.

  • It used a hard-coded user (admin) and password (mariadb) by default.

  1. for remote connections by configuring several global parameters in maxscale.cnf.

Parameter
Description

For example:

  1. Restart the MaxScale instance.

This page is: Copyright © 2026 MariaDB. All rights reserved.

• This parameter defines the network address that the REST API listens on.• The default value is 127.0.0.1.

• This parameter defines the network port that the REST API listens on.• The default value is 8989.

[maxscale]
...
admin_host            = 0.0.0.0
admin_port            = 8443
$ sudo systemctl restart maxscale

Configuring MaxScale's REST API for Remote Connections

Configure MaxScale's REST API
admin_host
admin_port
spinner