FAQ
Hi

just want to check out soft by svn, but failed for 'connection refused'
reason

e.g.
svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused

and this is my iptables status and some info to confirm the DNS and ICMP
connection are ok.

======================== service iptables status
iptables: Firewall is not running.

ping svn.mplayerhq.hu
PING svn.mplayerhq.hu (192.190.173.45) 56(84) bytes of data.
64 bytes from avserver.banki.hu (192.190.173.45): icmp_seq=1 ttlI
time 0 ms
========================

so, anyone knows the reason?

my system is centos 6 with 64bit

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20110720/3bda8f87/attachment.html

Search Discussions

  • David Lemcoe at Jul 19, 2011 at 2:43 pm
    Usually as a quick troubleshooting step, I will go "service iptables stop",
    try what is causing the problem, and then see if it's the firewall causing
    the issue.
    On Tue, Jul 19, 2011 at 2:30 PM, Steve liu wrote:

    Hi

    just want to check out soft by svn, but failed for 'connection refused'
    reason

    e.g.
    svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
    svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused

    and this is my iptables status and some info to confirm the DNS and ICMP
    connection are ok.

    ========================> service iptables status
    iptables: Firewall is not running.

    ping svn.mplayerhq.hu
    PING svn.mplayerhq.hu (192.190.173.45) 56(84) bytes of data.
    64 bytes from avserver.banki.hu (192.190.173.45): icmp_seq=1 ttlI
    time 0 ms
    ========================>

    so, anyone knows the reason?

    my system is centos 6 with 64bit

    thanks



    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.centos.org/pipermail/centos/attachments/20110719/a5cfbdde/attachment.html
  • Steve liu at Jul 19, 2011 at 2:47 pm
    thanks for your quick response

    but I really do this, see highlight...

    any else

    On Wed, Jul 20, 2011 at 2:43 AM, David Lemcoe wrote:

    Usually as a quick troubleshooting step, I will go "service iptables stop",
    try what is causing the problem, and then see if it's the firewall causing
    the issue.
    On Tue, Jul 19, 2011 at 2:30 PM, Steve liu wrote:

    Hi

    just want to check out soft by svn, but failed for 'connection refused'
    reason

    e.g.
    svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
    svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused

    and this is my iptables status and some info to confirm the DNS and ICMP
    connection are ok.

    ========================>> service iptables status
    iptables: Firewall is not running.

    ping svn.mplayerhq.hu
    PING svn.mplayerhq.hu (192.190.173.45) 56(84) bytes of data.
    64 bytes from avserver.banki.hu (192.190.173.45): icmp_seq=1 ttlI
    time 0 ms
    ========================>>

    so, anyone knows the reason?

    my system is centos 6 with 64bit

    thanks



    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos

    --
    steve
    Beijin, China
    <lsen.119 at gmail.com>
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.centos.org/pipermail/centos/attachments/20110720/228df91f/attachment.html
  • David Lemcoe at Jul 19, 2011 at 2:56 pm
    I apologize. I didn't even see that part.

    I've never used svn:// to access my repos, so I won't be able to help there.

    Though, what I do use is http:// to access them, because it makes for one
    less port to be open. You actually use apache to do it.

    http://wiki.centos.org/HowTos/Subversion
    On Tue, Jul 19, 2011 at 2:47 PM, Steve liu wrote:

    thanks for your quick response

    but I really do this, see highlight...

    any else

    On Wed, Jul 20, 2011 at 2:43 AM, David Lemcoe wrote:

    Usually as a quick troubleshooting step, I will go "service iptables
    stop", try what is causing the problem, and then see if it's the firewall
    causing the issue.
    On Tue, Jul 19, 2011 at 2:30 PM, Steve liu wrote:

    Hi

    just want to check out soft by svn, but failed for 'connection refused'
    reason

    e.g.
    svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
    svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused

    and this is my iptables status and some info to confirm the DNS and ICMP
    connection are ok.

    ========================>>> service iptables status
    iptables: Firewall is not running.

    ping svn.mplayerhq.hu
    PING svn.mplayerhq.hu (192.190.173.45) 56(84) bytes of data.
    64 bytes from avserver.banki.hu (192.190.173.45): icmp_seq=1 ttlI
    time 0 ms
    ========================>>>

    so, anyone knows the reason?

    my system is centos 6 with 64bit

    thanks



    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos

    --
    steve
    Beijin, China
    <lsen.119 at gmail.com>


    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.centos.org/pipermail/centos/attachments/20110719/9a68f4a8/attachment.html
  • Steve liu at Jul 19, 2011 at 3:08 pm
    I agree.

    but it's not up to me.
    some web site only offers svn you know...

    this works for me before...

    at first I supposed it be problem of that web site. But later I tried to
    check out sth from other site, still failed.

    so I guess there must be sth wrong in my sys...[?]

    though, thanks all the same. [?]
    On Wed, Jul 20, 2011 at 2:56 AM, David Lemcoe wrote:

    I apologize. I didn't even see that part.

    I've never used svn:// to access my repos, so I won't be able to help
    there.

    Though, what I do use is http:// to access them, because it makes for one
    less port to be open. You actually use apache to do it.

    http://wiki.centos.org/HowTos/Subversion

    On Tue, Jul 19, 2011 at 2:47 PM, Steve liu wrote:

    thanks for your quick response

    but I really do this, see highlight...

    any else

    On Wed, Jul 20, 2011 at 2:43 AM, David Lemcoe wrote:

    Usually as a quick troubleshooting step, I will go "service iptables
    stop", try what is causing the problem, and then see if it's the firewall
    causing the issue.
    On Tue, Jul 19, 2011 at 2:30 PM, Steve liu wrote:

    Hi

    just want to check out soft by svn, but failed for 'connection refused'
    reason

    e.g.
    svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
    svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused

    and this is my iptables status and some info to confirm the DNS and ICMP
    connection are ok.

    ========================>>>> service iptables status
    iptables: Firewall is not running.

    ping svn.mplayerhq.hu
    PING svn.mplayerhq.hu (192.190.173.45) 56(84) bytes of data.
    64 bytes from avserver.banki.hu (192.190.173.45): icmp_seq=1 ttlI
    time 0 ms
    ========================>>>>

    so, anyone knows the reason?

    my system is centos 6 with 64bit

    thanks



    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos

    --
    steve
    Beijin, China
    <lsen.119 at gmail.com>


    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos

    --
    steve
    Beijin, China
    <lsen.119 at gmail.com>
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.centos.org/pipermail/centos/attachments/20110720/63532489/attachment.html
    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: not available
    Type: image/gif
    Size: 541 bytes
    Desc: not available
    Url : http://lists.centos.org/pipermail/centos/attachments/20110720/63532489/attachment.gif
    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: not available
    Type: image/gif
    Size: 581 bytes
    Desc: not available
    Url : http://lists.centos.org/pipermail/centos/attachments/20110720/63532489/attachment-0001.gif
  • Cooleyr at Jul 20, 2011 at 12:04 am

    On Jul 19, 2011 11:30 AM, "Steve liu" wrote:
    e.g.
    svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
    svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused

    and this is my iptables status and some info to confirm the DNS and ICMP
    connection are ok.

    Do an nmap scan on svn.mplayerhq.hu. Look for svn / subversion in etc
    services to see which port you specifically need to have open. I'd bet your
    upstream firewall is blocking the port. You can try connection to the host
    + port with "nc -w2 -v" to see if you get connected. Type some junk and you
    should see some error back from the server.
    If the network looks good with all of the above, the problem is with your
    local svn binary, or its configuration.
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.centos.org/pipermail/centos/attachments/20110719/c2228fd0/attachment.html
  • Steve liu at Jul 20, 2011 at 1:15 am
    yes, port level block I think. see below.

    ===============================
    nc -v svn.mplayerhq.hu 3690
    nc: connect to svn.mplayerhq.hu port 3690 (tcp) failed: Connection timed out
    nc -v svn.mplayerhq.hu 80
    Connection to svn.mplayerhq.hu 80 port [tcp/http] succeeded!
    ===============================
    I'll try to contact our IT to solve this, thanks

    On Wed, Jul 20, 2011 at 12:04 PM, wrote:
    On Jul 19, 2011 11:30 AM, "Steve liu" wrote:
    e.g.
    svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
    svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused

    and this is my iptables status and some info to confirm the DNS and ICMP
    connection are ok.

    Do an nmap scan on svn.mplayerhq.hu. Look for svn / subversion in etc
    services to see which port you specifically need to have open. I'd bet your
    upstream firewall is blocking the port. You can try connection to the host
    + port with "nc -w2 -v" to see if you get connected. Type some junk and you
    should see some error back from the server.
    If the network looks good with all of the above, the problem is with your
    local svn binary, or its configuration.

    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.centos.org/pipermail/centos/attachments/20110720/d2a9aa90/attachment.html

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedJul 19, '11 at 2:30p
activeJul 20, '11 at 1:15a
posts7
users3
websitecentos.org
irc#centos

People

Translate

site design / logo © 2022 Grokbase