curl: (7) couldn't connect to host
1. file getcontents ($url) doesn't work -- (on remote URLs or local URLs) -- it turns an error
2. file getcontents ($file) works.
3. CURL works on remote URLs, not on local URLs (local.thishost.com).
4. as per php.ini, allow urlfopen On
So, if, at the command line, I enter
curl "http://www.apple.com"
I get the web page. But if I enter a local host:
curl "http://thisbox.domain.com"
I get the error "curl: (7) couldn't connect to host". Now, that same URL if entered on a different machine on the network (but DNS directs to the serveR), it resolves and the page is returned.
Any ideas how to solve this?
...Rene
Xserve Nehalem, Mac OS X (10.6.2)