Eclipse git saying Connection Refused
I am trying to clone a git repository in Eclipse stored at a server (connected to my system via LAN).
This is what I am filling in the
Import Projects From Git dialog:
the repository is stored at: /home/sajat/git in the server.
However, when i click Next, I get the following error:
Can someone tell me what am I doing wrong?
2 Solutions collect form web for “Eclipse git saying Connection Refused”
2 problems I see:
you are likely using the wrong port number, standard SSH is 22 and unless you have ssh listening on port 80 it will not work.
Also, you path is odd,
/git is not the same as
/home/sajat/git. Try using the long path.
You should follow this how-to if you’re having trouble with a Git server create by your own