cURL / Mailing Lists / curl-library / Single Mail


Re: Port from URI is not taken

From: Dan Fandrich <>
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:
Received on 2012-08-30