threads / discuss / 17551

git daemon on different port

Subject: git daemon on different port

## tl;dr

3 messages between Feb 4, 2009 and Feb 4, 2009.

replies: 2people: 2as markdown or json

Stefan Näwe· Feb 4, 2009, 11:20 UTC · lore
Hi all.
git daemon --port=12345....
would set the git daemon to listen on port number 12345, right?
Question: What would be the clone URL then ?
Thanks
Stefan
Johannes Schindelin· Feb 4, 2009, 11:26 UTC · re: Stefan Näwe · lore

Re: git daemon on different port

Hi,
On Wed, 4 Feb 2009, Stefan Näwe wrote:
Show 5 quoted lines
> git daemon --port=12345....
> 
> would set the git daemon to listen on port number 12345, right?
> 
> Question: What would be the clone URL then ?
git://example.com:12345/repository.git

Ciao, Dscho

Stefan Näwe· Feb 4, 2009, 11:27 UTC · re: Stefan Näwe · lore

Re: git daemon on different port

Stefan Näwe <stefan.naewe+git <at> gmail.com> writes:
Show 8 quoted lines
> 
> Hi all.
> 
> git daemon --port=12345....
> 
> would set the git daemon to listen on port number 12345, right?
> 
> Question: What would be the clone URL then ?
It would of course be
 git clone git://hostname:12345/path/to/repo.git
Who would have guessed that...
Thanks to anyone who helped ;-)
Stefan

← back to recent threads