How to set the port used by subversion
Subversion is configured in two different ways, based on its own lightweight server svnserve, a very popular web server Apache.
Depending on the configuration, Subversion uses different ports to provide services to the outside.
Based on Svnserve, the default port is 3690,
Based on Apache, the default port is Apache's default port of 80.
Sometimes we need to modify these default ports for firewalls or other reasons.
Here's how to change these default ports according to different configurations.
1. Provide service via svnserve-d-R D:\SVN (assuming D:\SVN is the directory where your repository is located)
Add--listen-port parameters to Svnserve, such as svnserve-d-R D:\SVN--listen-port 81
2, through Apache to provide services
In httpd.conf, look for listen 80, change 80 to the port you want
Reprint please specify from SVN knowledgebase http://wiki.iusesvn.com
If you confuse HTTPS and TTP, you will get an error, so don't confuse