/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/en/user-guide/server.txt

  • Committer: Andreas Jellinghaus
  • Date: 2007-08-29 09:06:07 UTC
  • mto: (2777.2.1 doc2)
  • mto: This revision was merged to the branch mainline in revision 2781.
  • Revision ID: aj@dungeon.inka.de-20070829090607-sqwop24h94y0om8o
1.) change order: simple example first.
2.) fix complex example: if bzr is bound to localhost (i.e. 127.0.0.1 / lo),
    then a client cannot reach it via the hostname (typically bound to the
    ip on eth0 / network interface).

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
 
73
73
This mode has the same path and URL behaviour as the inetd mode.  To
74
74
run as a specific user, you should use ``su`` or login as that user.
75
 
This example runs ``bzr serve`` on `localhost` port `1234`.
76
 
 
77
 
server::
78
 
 
79
 
    bzr serve --port=localhost:1234 --directory=/srv/bzr/repo
80
 
    
81
 
client::
82
 
 
83
 
    bzr log bzr://host:1234/branchname
84
75
 
85
76
This example runs bzr on its official port number of `4155` and listens on all
86
77
interfaces. This allows connections from anywhere in the world that can reach
89
80
server::
90
81
 
91
82
    bzr serve --directory=/srv/bzr/repo
 
83
 
 
84
client::
 
85
 
 
86
    bzr log bzr://host/branchname
 
87
 
 
88
This example runs ``bzr serve`` on `localhost` port `1234`.
 
89
 
 
90
server::
 
91
 
 
92
    bzr serve --port=localhost:1234 --directory=/srv/bzr/repo
 
93
    
 
94
client::
 
95
 
 
96
    bzr log bzr://localhost:1234/branchname
 
97