[Xitami] mysql/php on a Win2k under Xitami

Wolfgang Schneider xitami@lists.xitami.org
Fri, 24 Aug 2001 06:36:28 +0200


On Thu, 23 Aug 2001 19:23:28 -0400, Paul Reid wrote:

Hi Paul,
thank you for your input ... I am beginning to see through some of
these things and gain a better understanding of how it is supposed to
work .
Have a good day.
Wolfgang
 
>It "should" work to specify "localhost" as the "remote" server, and TCP
>as the protocol if that is needed.
>
>Then when PHP opens a connection to the "remote server" named
>"localhost", the TCP stack re-directs it to the same machine. Change
>"localhost" to "server2.your_isp.com" for production. 
>
>In some cases, "localhost" isn't correctly specified. "127.0.0.1" should
>also work to mean "this same machine". 
>
>In some cases, for no good reason, Windows will insist on connecting to
>an outside DNS server even for hosts it has in its own "hosts" file.
>Microsoft just doesn't understand DNS or TCP. It may work if you unplug
>your modem phone line and wait patiently for it to give up trying to
>reach an external DNS server. You can check that by seeing if opening
>"localhost" in your browser works without Windows trying to reach out
>for DNS service.