php - How to let phpMyAdmin connect online server? -


i’m running server locally have setup , running good, when try connect phpmyadmin server gives me error

warning: mysql_connect(): no connection made because target machine actively refused it. in c:\server\htdocs\comment.php on line 3

here connection settings:

mysql_connect("76.4.50.73","root",""); mysql_select_db("comments"); 

i have tried 127.0.0.1 since not on localhost not work

mysql ports—and virtually db port—is not open outside world. chances of connecting remotely via root slim none. root. running nmap scan of port 3306 on ip address providing shows filtered:

$ nmap 76.4.50.73 -p3360  starting nmap 6.25 ( http://nmap.org ) @ 2014-06-03 21:51 edt nmap scan report tx-76-4-50-73.dhcp.embarqhsd.net (76.4.50.73) host (0.37s latency). port     state    service 3360/tcp filtered unknown 

for intents , purposes filtered means port blocked & cannot accessed.

i recommend contacting isp see if can open port 3306 you. chances give non-root login & ask use ssh tunneling connect.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -