# git daemon on different port

3 messages from 2009-02-04 to 2009-02-04. Participants: Stefan Näwe, Johannes Schindelin.
Thread: https://gitlist.dev/t/17551

## Stefan Näwe, 2009-02-04 11:20

Subject: git daemon on different port
Message-ID: <loom.20090204T111635-586@post.gmane.org>
URL: https://gitlist.dev/e/loom.20090204T111635-586%40post.gmane.org

```
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, 2009-02-04 11:26

Subject: Re: git daemon on different port
Message-ID: <alpine.DEB.1.00.0902041226270.22763@intel-tinevez-2-302>
URL: https://gitlist.dev/e/alpine.DEB.1.00.0902041226270.22763%40intel-tinevez-2-302
In-Reply-To: <loom.20090204T111635-586@post.gmane.org>

```
Hi,

On Wed, 4 Feb 2009, Stefan Näwe wrote:

> 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, 2009-02-04 11:27

Subject: Re: git daemon on different port
Message-ID: <loom.20090204T112600-689@post.gmane.org>
URL: https://gitlist.dev/e/loom.20090204T112600-689%40post.gmane.org
In-Reply-To: <loom.20090204T111635-586@post.gmane.org>

```
Stefan Näwe <stefan.naewe+git <at> gmail.com> writes:

> 
> 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

```
