Networking, TLS and reverse proxy
HTTP(S) origins, listeners, trust chains and application header propagation.
Flows and trust boundaries
Browsers communicate with Studio; Studio and application clients communicate with Core. Each link has its own listener, public origin and trust store. TLS termination at a frontend must preserve authentication headers, cookies and correlation identifiers while retaining origin checks and timeouts appropriate for result consumption.
Listening addresses and traffic
127.0.0.1 is local to a machine; 0.0.0.0 listens on IPv4 interfaces and is not a client destination URL. Browsers reach Studio; Studio and applications reach Core. Permit only required machine-to-machine traffic. Database grants do not replace firewall rules, and an open port grants no SQL permission.
Direct HTTPS or reverse proxy
Core and Studio accept --cert/--key for direct TLS. The wizard package does not configure certificates; standard startup is local HTTP. IIS or another reverse proxy may terminate HTTPS and relay locally. Certificates must match the public hostname and be trusted by clients. Keep HTTPS and any nonstandard port in engine_url.
Proxies must preserve JSON Content-Type, Authorization, Cookie/Set-Cookie and useful identifiers, and must not cache SQL responses. Align proxy timeouts/body limits with Core. Do not remove Host/Origin checks to fix a 403; inspect actual traffic and headers.
Application access and trust
The driver requires HTTPS outside loopback by default. Python clients validate against their own trust store. Distribute internal CA chains to the correct environment; browser trust does not necessarily imply application-Python trust. Keep secrets out of URLs and support commands. API routes are not an unrestricted CORS SQL service for arbitrary websites.