I may be dumb. Not sure yet.
Trying to do something that should be simple:
$database = '10.10.10.81:?????';
$username = 'admin';
$password = 'pw';
$conn = ibase_connect($database, $username, $password);
if (!$conn)
{
echo "Error while connecting: ".ibase_errmsg();
exit();
}
echo 'workan';
We hit the error: connection rejected by remote interface. From another question here I read that this comes from various things: Could be a user/password problem, could be a host ($database) problem, something else that I forget.
I believe my host string is terribly wrong and can't figure out how I should be going about this. Perhaps my google-fu is not up to par.
Trying to get to E:\fishbowl\database\data\base.fdb on 10.10.10.81, a separate local computer
Tried a bunch of combinations but can't seem to make anything work.
Edit: Just a heads up, this is a firebird database. Not sure if that changes things
For windows, it should look like this:
localhost/10095:C:/Data/SKLADFD.FDB
.
See how port (in this case 10095) is specified.
In your case:
10.10.10.81/3050:E:/fishbowl/database/data/base.fdb
Path to the file must be local file on server, not windows share on connecting machine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With