Warning: Unable to complete network request to host "abc".

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • srinu

    Warning: Unable to complete network request to host "abc".

    Hello,

    We had one webserver based on a linux machine. The website is fully
    function and designed by a different person. Now we moved the machine
    from one IP to another one.
    I changed the machine ip address and the website is working partially.
    That site is working in between pages verywell. But once I give some
    input and requrest for data it is failing with the following message:


    Warning: ibase_pconnect( ): Unable to complete network request to host
    "abc". Failed to establish a connection. Connection refused in ***.php
    on line 347


    Following this I am getting errors for ibase_trans(), ibase_commit()
    and ibase_close().


    What i need to do in this case apart from changing the ip address. The
    new ip address is in different domain but the machine name is still
    same.


    Regards,
    Srinu

  • Erwin Moller

    #2
    Re: Warning: Unable to complete network request to host "abc" .

    srinu wrote:
    [color=blue]
    > Hello,
    >
    > We had one webserver based on a linux machine. The website is fully
    > function and designed by a different person. Now we moved the machine
    > from one IP to another one.
    > I changed the machine ip address and the website is working partially.
    > That site is working in between pages verywell. But once I give some
    > input and requrest for data it is failing with the following message:
    >
    >
    > Warning: ibase_pconnect( ): Unable to complete network request to host
    > "abc". Failed to establish a connection. Connection refused in ***.php
    > on line 347
    >
    >
    > Following this I am getting errors for ibase_trans(), ibase_commit()
    > and ibase_close().[/color]

    They probably just give errors because you couldn't connect.

    It sounds like the scripts cannot resolve host "abc" anymore.

    You have 2 options as far as I can see:
    1) Make sure the machine hosting php DOES know how to find "abc"

    or

    2) Try to connect by IP-num of the machine hosting IBase istead of "abc"

    Since you didn't give the code with connectstring to us, for understandable
    reasons, it is also possible there is a fault in there, but that is hard to
    say.

    Try 2 first because that is the easiest way for you I expect.

    Good luck.

    Regards,
    Erwin Moller
    [color=blue]
    >
    >
    > What i need to do in this case apart from changing the ip address. The
    > new ip address is in different domain but the machine name is still
    > same.
    >
    >
    > Regards,
    > Srinu[/color]

    Comment

    Working...