Page 1 of 1

I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Posted: Fri 04 Sep 2015 17:16
by AdalDiaz2
it is hosted by ipage.com

My tunnel script is http://adaldiaz.hn/MySQL/tunnel.php
a info page can be found at: http://adaldiaz.hn/info.php

Error screen:
Image

A php script runs querys to MySQL and everything works, so the tunnel script should connect to MySQL but something is not working, i tried to do this same thing with the Navicat DB Manager and works, it does Http, SSL Tunneling.. All OK BUT I PREFER DBFORGE!!! i dont like Navicat, so please! can anybody help me?

Re: I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Posted: Mon 07 Sep 2015 11:16
by alexa
Could you please provide us a screenshot of the 'General' tab of the 'Database Connection Properties' dialog box that can be invoked by right-clicking the connection in Database Explorer and selecting 'Modify Connection...' from the popup menu?

Please also see the following article http://blog.devart.com/using-http-tunneling.html

You can send a reply straight to our support system at supportATdevartDOTcom

Re: I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Posted: Mon 07 Sep 2015 16:40
by AdalDiaz2
Hello, thanks for answer... i believe is possible to connect but the script may not work with this hosting (ipage.com), i checked a log file created with the script named "httptunnel_server.log" and contains this:

04.09.2015 15:34:29 - Connection entry not found.
04.09.2015 15:34:29 - stream_socket_server() failed: reason:0 Permission denied
04.09.2015 15:34:34 - Failed to create client socket

maybe some method or function is not allowed, here is the screenshot that you requested:
Image

so alexa, if you think you can help me, i can provide you credentials to access... i have tried a lot, i dont know what else to do... :D

Re: I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Posted: Tue 08 Sep 2015 10:36
by alexa
The provider of the host services appears to have forbidden using the PHP function stream_socket_server() on its servers.

We recommend you to contact them in order to remove this restriction.

Re: I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Posted: Wed 09 Sep 2015 20:39
by AdalDiaz2
You're right, the function is not being allowed, the hosting support doesn't accept to change the permission by some reason, so im going to migrate to another hosting, this time i will make sure that function be allowed.

Thank you so much by your help, i hope this topic be useful to help another people :)