git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Unable to clone a repo over an IPv6 link local address: port got trimmed to 4 chars

From
Torsten Bögershausen <tboegi@web.de>
Date
Jun 24, 2014, 13:15 UTC
Message-ID
<53A97A08.2020304@web.de>
In-Reply-To
<53A9735E.8080604@luminar.eu.org>
On 06/24/2014 02:47 PM, Vincent B. wrote:
Show 13 quoted lines
> I discovered an issue while trying to clone a git repo over an IPv6 link-local address:
>
> [vb@nerenyi ~/code/ocaml-llnet]% LANG=C git clone "http://[fe80::226:c6ff:fe50:efa0%wlan0]:33075/repo"
>
> Cloning into 'repo'...
> fatal: unable to access 'http://[fe80::226:c6ff:fe50:efa0%wlan0]:33075/repo/': Failed to connect to fe80::226:c6ff
> :fe50:efa0 port 3307: Connection refused
>
> It tries to connect to port 3307, and not 33075, strangely.
>
> Cheers,
>
> Vincent Bernardoff
Which OS are you using ?

what does git --version give?

And what does this do ?
GIT_CURL_VERBOSE=1 LANG=C git clone "http://[fe80::226:c6ff:fe50:efa0%wlan0]:33075/repo"
Previous: Vincent B.Next: Vincent B.
Message 2 of 3 in “Unable to clone a repo over an IPv6 link local address: port got trimmed to 4 chars”
  1. Vincent B.Jun 24, 2014
  2. Torsten BögershausenJun 24, 2014
  3. Vincent B.Jun 24, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.