How-to
Ignition to Azure SQL Database: port 1433, no instance name
Short answer
Leave instanceName blank: Azure SQL Database has no named instances, so the JDBC URL carries only the server hostname and TCP 1433, with databaseName selecting the database — for example jdbc:sqlserver://plant-sql.database.windows.net:1433. Open outbound TCP 1433 only; the UDP 1434 browser rule is not used. Because SQL Server Management Studio already connects from the Ignition server over that same port, no new outbound rule is needed there, and the plain SQL username works.

On this page
Leave instanceName blank and put the port in the URL. Azure SQL Database is addressed by its server hostname on TCP 1433, with databaseName selecting your existing database. There is no named instance to discover, so no SQL Server Browser traffic is involved. Since SQL Server Management Studio already connects from the Ignition server over that same connection port, the host's outbound path is already open: no new firewall rule is needed there. The plain SQL username is the form that works; the server-qualified variant is only a fallback to test.
Why there is no instance name to enter #
The Microsoft JDBC Driver's instanceName property tells the driver which named instance to connect to on serverName. That is the on-premises model: the client asks the SQL Server Browser service, over UDP, to translate an instance name into a port. Azure SQL Database does not work that way. Per Microsoft's connectivity architecture documentation, a logical server exposes one endpoint — a hostname under database.windows.net and a fixed connection port — and all client connections land on shared gateways in the region. There is nothing for a browser service to resolve.
Putting the hostname, or anything else, into instanceName pushes the driver toward a discovery path the endpoint does not serve. The property that selects your data is databaseName; pass the database name once, in the field Ignition provides or as a connection property, never in both places. The browser-and-UDP model is exactly what on-premises named instances need, and when that path breaks the diagnosis is in why Ignition cannot connect to a SQL Server Express named instance.
Enter the connection in Ignition #
- Create the database connection and select the Microsoft SQLServer JDBC Driver.
- Build the Connect URL as the server hostname with the port appended. The driver's documented default port is the same number, so the URL also works without it — write it anyway, so the URL, the firewall rule and your port test all name one value.
- Leave
instanceNameempty. - Set
databaseNameto the existing database, once. - Enter the SQL username exactly as the login was created on the Azure server, with its password. If the login is rejected, retest once with the server-qualified form — the same username with an at sign and the server name appended — and read the exact error text.
- Save and run Ignition's connection test; confirm the connection shows valid, then run a simple query through the application path.
For example, with the example server plant-sql, the example login sqluser and the example database line2hist, the fields read:
Connect URL: jdbc:sqlserver://plant-sql.database.windows.net:1433
Username: sqluser
databaseName: line2hist
If your Ignition version shows the database in its own field, put the name there and leave it out of the properties — pass it in one place only.
Firewall: one outbound port, no browser rule #
| Outbound rule from the gateway host | Needed | Why |
|---|---|---|
| TCP 1433 to the Azure server | Yes | The connection port; Management Studio uses the same port to the same endpoint |
| UDP 1434 | No | SQL Server Browser discovery for named instances; this endpoint has none |
| TCP 1434 | No | Reserved for Azure's dedicated admin connection, which application traffic never uses |
A host where Management Studio already connects needs no new rule: stateful firewalls usually pass outbound sessions, and that successful session proves the tested host reaches the endpoint. Do not extend the proof to other machines — if the gateway runs on a different host, or egress is default-deny, repeat a DNS lookup and a TCP connect test from the gateway host itself. When you do write the rule, allow by hostname or by the cloud provider's database service tag, never by the resolved address: multiple logical servers in a region share those gateways, so the address is neither dedicated nor permanent. Make the change with the network owner inside the change window; an OT egress rule is a firewall change like any other.
Worked example: two gateways, one server #
Take the example server plant-sql, the example database line2hist, a primary gateway on 192.168.1.50 and a standby on 192.168.1.51, both behind a default-deny egress firewall. Both gateways use the URL from the steps above, unchanged.
- Outbound TCP rules on the connection port: 1 per gateway host × 2 hosts = 2 rules, or 1 rule listing both sources.
- UDP browser-discovery rules: 0 + 0 = 0.
- Pre-checks: 1 DNS lookup + 1 TCP connect test per host = 2 lookups, 2 connects.
- Ignition connection tests: 1 per gateway = 2, both expected valid.
If both TCP connects succeed and an Ignition test still fails, the network is cleared; the fault is in the JDBC settings, so classify it next.
Verify, then classify any failure #
A passed Ignition connection test proves four stages at once: the gateway resolved the hostname, opened the TCP session, authenticated, and selected the database. A failed test should be read before anything is edited:
- Name-resolution or connection-timeout error: back to DNS and the TCP test from the gateway host.
- Login failed: the username form and password, then the authentication method configured on the server.
- Cannot open the database: the spelling in
databaseName, then the login's access to that database.
Change one category and retest. Faults that appear only after an Ignition or driver upgrade follow their own path — see fix Ignition SQL Server connection faults after an upgrade. A connection that works and then drops mid-shift is a different problem again; the recovery checks are in reconnect an edge PC to SQL Server after connection loss. A query-time conversion fault on datetime columns under Ignition 7.8 is not a connection fault at all: SQL Server JDBC date conversion error fix for Ignition 7.8 covers it.
The decision for each case #
- Instance name: empty, always, for Azure SQL Database — there is no instance to name.
- URL: the server hostname plus the connection port, written explicitly.
- Outbound firewall: TCP on the connection port only; nothing new on a host where Management Studio already connects; no browser-discovery rule; no dedicated-admin rule.
- Username: the plain SQL login, with the server-qualified form as a one-time fallback test.
- Database: selected once, through
databaseName.
Questions asked
Can I paste the JDBC connection string from the Azure portal into Ignition?
Use it as a checklist, not as a paste-in value. The portal string is written for generic JDBC clients and carries properties that Ignition splits into separate fields. Copy the server hostname, the port and the database name into the matching fields, keep any extra properties minimal, and leave the instance field empty.
When do I need the server-qualified username form?
Only when the plain SQL login is rejected with a login error. Append an at sign and the server name to the username and retest once. If the qualified form fails too, the format is not the fault: check the password, whether that login exists on that Azure server, and which authentication method the server expects.
Is outbound port 1434 ever needed for Azure SQL Database?
No, not for Ignition. Azure reserves 1434 for the dedicated admin connection, a single troubleshooting session an administrator opens when ordinary connections are blocked. Application traffic never uses it, so an egress policy that allows only TCP 1433 to the database service is complete.
Does this setup also cover Microsoft Entra ID logins?
No. This article covers SQL authentication, where the login and password are created on the Azure server itself. Directory-based logins use different username formats and their own error messages, but the hostname, the port and the URL stay the same, because authentication happens only after the TCP session is open.


