Hi Brendan,

if you are calling an IP or a DNS name should not be something that
concerns curl, the name resolution and routing is handled somewhere on
the lower level IP stack of your server or development machine. You
can test this assumption by creating a host file entry with your IP
address:

10.0.0.1 test

and using 'http://test' for the url in your curl call.

You can also test if the other end actually listenes on TCP by using
telnet 10.0.0.1 80, then enter "GET /" (blindly). You should get the
page returned to the console.

As Bruce said, what happens?

Kind Regards,

Jochen Daum

Chief Automation Officer
Automatem Ltd

Phone: 09 630 3425
Mobile: 021 567 853
Email: [email protected]
Skype: jochendaum
Website: www.automatem.co.nz
http://twitter.com/automatem
http://nz.linkedin.com/in/automatem
http://www.xing.com/go/invite/3425509.181107
http://www.aucklandbusinessnetworking.co.nz



On Fri, Aug 20, 2010 at 6:26 PM, Brendan Brink
<[email protected]> wrote:
> hi there
>
> Has anyone experience with cURL and IP addresses?
>
> Having issues calling an IP URL through CURL.
>
> Thanks
> Brendan
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]
>

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to