Installing gitosis and closed port?

Posted by Nicolas GUILLAUME on Server Fault See other posts from Server Fault or by Nicolas GUILLAUME
Published on 2012-04-13T02:22:24Z Indexed on 2012/04/13 5:33 UTC
Read the original article Hit count: 968

Filed under:
|
|

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: 208.78.102.120]: 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 :)

© Server Fault or respective owner

Related posts about port

Related posts about gitosis