Results 1 to 3 of 3

Thread: Git-svn Connection Failure

  1. #1
    Join Date
    Jan 2009
    Beans
    328

    Git-svn Connection Failure

    Hello,
    I am trying git. When I use command "git-svn clone -s svn://localhost/svn/myproject", I got following error:
    Code:
    Connection refused: Can't connect to host 'localhost': 
    Connection refused at /usr/bin/git-svn line 1493
    What is the cause?
    Last edited by huangyingw; May 3rd, 2009 at 03:42 PM.

  2. #2
    Join Date
    Mar 2005
    Beans
    947
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Git-svn Connection Failure

    Er... you don't have an SVN server running on your machine?

    Use the address of the SVN server instead of "localhost".

  3. #3
    Join Date
    Jan 2009
    Beans
    328

    Re: Git-svn Connection Failure

    Quote Originally Posted by wmcbrine View Post
    Er... you don't have an SVN server running on your machine?

    Use the address of the SVN server instead of "localhost".
    Cheers, I have solved this. It's not the fault of localhost, for I really have a svn server on that machine. And my localhost's IP is indeed 192.168.0.8.
    While, I succeed with following command: "git svn clone http://192.168.0.8/svn/myproject".

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •