0

After many hours of work I made SVN server run on my mac os using Apache and anyone from the local network can access the repository.

But I can't figure out, how to make it accessible remotely from the internet?

When I type in my address bar "localhost/svn" my repository is being shown.

But when I type in my_ip/svn, browser can't connect to the server.

I've set up port forwarding on my router for port 3690 to my local ip, but nothing happens.

How can I make accessible my repository from the internet?

Thanks.

2
  • The svnserve daemon (used when a repository is accessed through the native SVN network protocol svn://) usually listens on port 3690. Apache on the other hand usually listens on port 80 and eventually 443. Jan 23, 2010 at 13:44
  • @ilya How can i access my svn server on windows from a mac os??
    – KJEjava48
    Mar 6, 2023 at 6:53

3 Answers 3

1

Just a quick question, are you sure you want to make it accessible through the Web? You can make your SVN accessible through ssh using port 22. Install and start an ssh server on your Mac and you can access your SVN with the following:

svn co svn+ssh://your.remote-server.com/home/svn/test
2
  • Can you please provide me with more information on configuring SSH on mac?
    – Ilya
    Jan 23, 2010 at 16:04
  • @Chris J what will be configuration if my svn url is 'svn://localhost/mysvn'
    – KJEjava48
    Mar 6, 2023 at 6:54
0

Since you are accessing SVN through Apache, you will need to forward port 80 on your router.

2
  • Will in this case all web content be forwarded to my computer? There are multiple computers in the local network.
    – Ilya
    Jan 23, 2010 at 16:04
  • If anyone accesses your external IP address on port 80, it will be forwarded to your computer.
    – Trevor
    Jan 24, 2010 at 13:53
0

I am guessing at your situation my guesses are:

1) Your router has an ip say: 80.1.1.5 2) Internally you have an ip say: 192.168.0.5

You have port forwarded port 3690 to 192.168.0.5 on your router.

What you need to do then is externally use your external ip rather than your internal ip address.

If I am guessing wrong at what you have setup give a bit more info.

You must log in to answer this question.