stream_socket_client and /etc/hosts file
- From: mike.coakley@xxxxxxxxx
- Date: Mon, 30 Jun 2008 12:11:56 -0700 (PDT)
Does stream_socket_client use the /etc/hosts file? I'm using Mac OSX
10.5.3 as a development platform and VMware Fusion for VM hosting. I
have a OpenSUSE Linux VM that has an Apache 2 web server with multiple
named virtual hosts. I use the Macs /etc/hosts file to provide DNS
resolution for the development web sites. I can ping the DNS names and
browse to them with no issues. For example:
ping dev.example.com
Works no problem (resolves to 172.16.182.128 - the IP VMware assigns
to the Linux VM)
Firefox & Safari can browse to dev.example.com no problem
However if I use stream_socket_client with a URI of tcp://dev.example.com:80
it fails.
Any ideas?
Mike
.
- Prev by Date: outtputting dynamic link in xml tag using php
- Next by Date: Re: restrict page access to one referring page
- Previous by thread: outtputting dynamic link in xml tag using php
- Next by thread: session variables
- Index(es):
Relevant Pages
|