svnserve listening for incoming connections over IPv6
Tagged:  •    •  

By default, when you start the SVN server, svnserve, it listens on a port via the IPv6 protocol. This means you cannot connect to the server when approaching it with a xxx.xxx.xxx.xxx (IPv4) address.

You can solve this by adding the following parameter to the svnserve call:

# svnserve --listen-host 0.0.0.0

You should supply this in the configuration file taking care of starting svnserve.

For FreeBSD, you need to replace the existing line in rc.conf starting with svnserve_flags with the following line:

svnserve_flags="-d --listen-port 3690 --listen-host 0.0.0.0"

The SVN server is now reachable on a IPv4 address.

Thanks. This was driving me

Thanks. This was driving me crazy.

Ditto, why this isn't

Ditto, why this isn't documented better is beyond me.

Typo

In the windows line above, you need to add "--listen-host 0.0.0.0", not "--listen-port 0.0.0.0" as is shown.

Thanks, fixed.

Thanks, fixed.