cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Port from URI is not taken

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 30 Aug 2012 21:53:56 +0200

On Thu, Aug 30, 2012 at 06:30:03PM +0000, Sidde Gowda wrote:
> I have a port 8080 in the URI from where I am trying to fetch and store a file.
> But I see port 80 is taken from the logs. Do I need to use port option to
> specify?

You can use the CURLOPT_PORT option, but the one in the URL should be
used otherwise. What is the exact URL you are using?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-30