This question already has an answer here:
I'm trying to install gitosis on a Server (hosted by OVH and running Ubuntu server 11.04). I've done it a few times and never had any problems.
But this time I have something very wired when I simply try to clone gitosis.
[root@ovks-1:~/]#git clone git://eagain.net/gitosis.git Cloning into gitosis... eagain.net[0: 220.127.116.11]: errno=Connection refused fatal: unable to connect a socket (Connection refused) zsh: exit 128 git clone git://eagain.net/gitosis.git
Based on my searches it looks like the port 9418 is closed.
But I don't understand, a server by definition shouldn't have any closed port and I can't find a way to see if they are.
So how can I check is a port is open and how can I open it if closed?
Thank you for your help.
Requested by WesleyDavid:
iptables -L result
[root@odeoos-vks-1:~/]#iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
I have no idea what it means... Thanks :)
I finally cloned gitosis from github using
https://github.com/res0nat0r/gitosis.git and it worked.
My guess is that
eagain.net has an actual connection problem and that there isn't much I could do about it...