INeedAGig Posted April 1, 2011 Share Posted April 1, 2011 Ok, the database I have been working on the past few days is located on my websites server (1&1) and today I am trying to get a connection to it on a website that is on a different server, but I am getting my echo statement of saying it can't find the database even though I changed it from "localhost" to the physical address of the database. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/232455-remote-connection/ Share on other sites More sharing options...
Pikachu2000 Posted April 1, 2011 Share Posted April 1, 2011 Check with the host to see if remote connections are even allowed. If it's a shared server, chances are that they're disabled. Quote Link to comment https://forums.phpfreaks.com/topic/232455-remote-connection/#findComment-1195709 Share on other sites More sharing options...
INeedAGig Posted April 1, 2011 Author Share Posted April 1, 2011 Just did, they block remote connections behind a firewall for security. I worked around it though, just routed the form on the external site to the processor on my server. Quote Link to comment https://forums.phpfreaks.com/topic/232455-remote-connection/#findComment-1195710 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.