||Re: How to use a Dbase app on two geographically diverse locations
Akshat Kapoor <email@example.com>
||Sat, 13 Jan 2018 15:28:42 +0530
On 13/01/2018 00:30, Ronnie MacGregor wrote:
> In article <t6yAXS9iTHA.1828@ip-AC1E04A7>, firstname.lastname@example.org says...
> From the above line I can see that your server name or machine name is :
>> but failed with all of the following lines
>> dbServer = "//192.168.1.103/localhost"
>> dbServer = upper("192.168.1.103\localhost")
>> dbServer = upper("\\Windows-2l0igcp\localhost")
> Of course these will fail.
> The constant "localhost" equates to 127.0.0.1 which is basically a loopback
> connector to the machine that you are working on.
> So using localhost or 127.0.0.1 or the local machine name, may all very well
> work on the stand alone machine in front of you, but it isn't going to work for
> any remote machine.
> dbServer = "192.168.1.103"
> This might very well work, but the IP address is more likely to change than the
> machine name.
> dbServer = "Windows-2l0igcp"
> Try this one . . . . . and you stand a better chance !!
I googled the error message and found that numerous other people had
also experienced the same problem.
A litle bit of reading and narrowed down the solution. I had allowed
access to the user from local host only.
In case of php data is always accessed as local host.
Modified the user access and now the connection was successful.
Thanks once again for the help.
and sorry for disturbing.