aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes SVN Over Internet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "SVN Over Internet" Watch "SVN Over Internet" New topic
Author

SVN Over Internet

Sandeep Jindal
Ranch Hand

Joined: Aug 25, 2003
Posts: 180
Hi,

I have an SVN server installed on my machine. But since I am using a router to connect to internet, people are unable to ping/connect me. That means they cannot access my SVN server using the IP from whatismyip.com website.

Is there a way by which people connect to some utility (e.g. teamviewer) which would be installed on my machine and that utility intern talk to SVN server I already have?

If the above is not possible, is that any solution to the problem (connect to version control server without knowing the IP of the server but by some other means).

Regards
Sandeep


SCJP 5.0
http://sites.google.com/site/duddlutechnologies/home
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30293
    
150

Sandeep,
How could they connect to any website if they cannot use the IP? Maybe you should host the SVN repository elsewhere so it is accessible over the internet?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Sandeep Jindal
Ranch Hand

Joined: Aug 25, 2003
Posts: 180
Hi Jeanne,

Thanks for the reply. I understand its not obvious. What I thought one way of doing it is:

I have a machine where SVN server is installed. This machine is using a proxy. That means outside world cannot directly access the SVN server, right?
Now there is some service provide. I register my machine to that provider which means that service provide knows me when I am online and can send and receive data to some utility (something like gtalk) which intern sends talk to my SVN server.

Now the user with SVN client(say eclipse) would talk to that service provider which would forward the data to my svn client.

Something like this is possible? Or some other solution is possible?

Actually I am working on a small project thus don't want to spend on buying static IP or some space for SVN. If the above does not work, can you suggest some good sites which provide free hosting of personal (not open source) project with 2 or more client access?

Regards
Sandeep
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30293
    
150

I think free hosting would be best for your scenario. Some of the free hosting don't do backups, but you can do an svnadmin export/dump periodically to have the history locally.

I was looking at projectlocker.com (but wound up not needing it.) There is also a provider list.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Most routers provide a mechanism to provide open ports so that outsiders can connect to ports on your machine. You will have to read the router's documentation, or google for some tutorials, to figure out how to do that. Once the port is open, then others will be able to access you SVN repository.

Not that with the port open your machine will then be subject to port scans, DDOS attacks, and other bad things which you currently do not notice because your router quietly blocks them.

By the way, good luck with this. Router documentation varies from useless to incomprehensible, at least from what I have seen. The googled tutorials might be a better bet.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SVN Over Internet