HTTP Tunneling is a method for connecting to a server that uses the same protocol (http://) and the same port (port 80) as a webserver does. It is used while your ISPs do not allow direct connections, but allows establishing HTTP connections.
Note: Available only for MySQL, PostgreSQL, SQLite and MariaDB.
Uploading the Tunneling Script
To use this connection method, first thing you need to do is to upload the tunneling script to the webserver where your server is located.
Note: ntunnel_mysql.php (for both MySQL and MariaDB), ntunnel_pgsql.php or ntunnel_sqlite.php is available in the Navicat Report Viewer installation folder.
Setting up HTTP Tunnel
The following instruction guides you through the process of configuring a HTTP connection.
- Select the HTTP tab and enable Use HTTP Tunnel.
- Enter URL of the tunneling script, e.g. http://www.navicat.com/ntunnel_mysql.php .
- If your server installed a Web Application Firewall, you can check the Encode outgoing query with base64 option.
- If the tunneling script is hosted in a password protected server or you have to access internet over a proxy server, you can provide the required authentication details in Authentication or Proxy tab.
- Navicat Report Viewer host name at the General settings page should be set relatively to the HTTP server which provided by your database hosting company.
Note: HTTP Tunnel and SSH Tunnel cannot function simultaneously. The SSH Tunnel is disabled when you select the HTTP Tunnel and vice versa.