How do I bind to just one IP address with VisualSVN Server?
-
21-08-2019 - |
Question
I've installed VisualSVN on my Windows Server 2008. I have several IP addresses on this server, but I want VisualSVN to only bind to one of them. By default it binds to all available addresses. How can I make VisualSVN only handle requests on one IP address?
I tried adding
BindAddress xxx.xxx.xxx.xxx
to httpd-custom.conf and restarting the service, but that didn't seem to work.
I tried the same with httpd.conf, and it didn't work either.
Solution
To clarify, the method for binding VisualSVN to explicitly defined IP addresses is:
- Load the VisualSVN Server Manager MMC snap-in
- In the left pane, right-click the VisualSVN Server item and choose Properties from the context menu
- Click the Network tab
- In the Server Binding group, select the radio button for These IP addresses
- For each IP address you want to specify:Click the Add... button
- Enter the IP address in the text box and click OK
OTHER TIPS
I found an easy way! I just upgraded to VisualSVN 1.6. Then, in the management console, right-click the VisualSVN Server node, select the Network tab, and enter your IP address(es). Cool!
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow