xcodemacossvncollabnetsvn-server

how to setup a SVN server with collabnet subversion edge on windows server, and how to connect to it remotely using Xcode on Mac?


I am a newbie about SVN server. I've certainly used SVN to check in/out codes before, but never learned how to setup a Subversion server it up from ground up.

What I have:

Server | Windows Server 2012 Standard, Activated:

Client | MacOSX Mountain, with Xcode 4.5 Installed:

I have tried to add repository by using the external IP address and the repository name like https://1.1.1.1/svn/, but as expected, it does not work and says "Host is unreachable".

I have tried to use the local hostname, no luck either. Although I did notice in their documentation, they mentioned IP address setting, but I cannot find it anywhere.

I would like to make it so that users can access and use the SVN repository remotely and locally.

I have no idea what to do, please help me. Thanks for your time!


Solution

  • I think I have sloved the problem. I knew I have to access the repo using my external IP address somehow, but when I tried something like, for example my IP is 1.1.1.1, when I typeed https://1.1.1.1/svn/reposname, I got a no response message.

    I figured that since there are more than 1 computers on my local network, the router has to somehow direct the request to my server only, not some other machine. After some reaserch I found that port forwarding does the trick. Since apache server uses port 80 as default, just get the default gateway ip using ipconfig from CMD, then enable port forwarding for port 80, to the server's local ip address. At least I can access it using my external ip on my local network. I will try to access it remotely and see.