SVN server defaults to use the 3690 port number, SVN to use a non-default port, you can add a--listen-port 21来 after svnserve to modify the port number that SVN uses,
The action is as follows: At the command prompt, enter:
Svnserve-d-R /home/declan/svnproject --listen-port 21
Note: The red bold section is the SVN root directory
You can also set different port numbers for different SVN projects on the same SVN server, such as another project under the Declan Directory, named Svntest, that you can start
Svnserve-d-R /home/declan/svntest --listen-port 3690
The Svntest project listens on the 3690 (SVN default) port number, so that when viewed using the NETSTAT-NTLP process, a different svnserver is viewed, and on the client side, the default connection is Port 3690, or you can add ": 21" to the address, that is, the colon + port number To set the access port.
The above commands are to be used under bin/under the SVN installation directory.