Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

General

...

Information

If you have remote a remote website and you need to access website database from iLangL cloud, but access to the database it through the port of the database server is forbidden, and forbidden and only access through HTTP port 80 is allowed, you can use MySQL HTTP tunnel.

You need to deploy tunnel.php script, which is included to the provider package, on the web server, allowed to . It will provide access to the database server to with the following use of HTTP tunneling. The script must be available through the HTTP protocol. You can verify if it is accessible with web browser. Here you can download tunnel.php file http://ilangl.com/downloads/tunnel.zip. Preferred place for this script is a website root folder. The only requirement to the server requirement is PHP 5 support. 



 


How to

...

Check if File Was Deployed and Works Correctly?

To check that if your file is was deployed and now works correctly, you should to must enter url to a browser where tunnel.php file is located. For example example, http://<your websute ur>/tunnel.php. In case of success, you will get next responsethe following response:

No Format
Devart HttpTunnel v1.73
Tunnel script is installed correctly. 
You can establish connections through the HTTP tunnel.

Loging is enabled.
Log files are located in the tunnel_files folder, which, in its turn, is located in the temporary folder of the operating system: /tmp/tunnel_files/httptunnel_server.log

How to

...

Set up Connection via HTTP Tunnel?

To establish connection between your website and iLangL cloud using MySQL HTTP Tunnel you should use instruction , you must follow the instructions for Internet Connection except Server for a server name part.

For Server name you should use next settinga server name, please use the following settings: httptunnel:http://<your website url>/tunnel.php, IP address 

...

IP address - MySql server IP address 


For example, if the script is in the server root, the url can be the following: http://localhost/tunnel.php and MySQL . If MySQL database is located on local environment, you can use IP 127.0.0.1.

As a result, you should get next the following result: httptunnel:http://localhost/tunnel.php,127.0.0.1