I am trying to clone a git repository with URL: http://user@serverIP:port/RepositoryName
on a Linux server and this is the output:
Cloning into 'RepositoryName'...
fatal: unable to access 'http://user@serverIP:port/RepositoryName/': couldn't connect to host
The same error also appears when I try to pull from the repository, while it worked properly and cloned the repository on my windows machine.
Does anyone have an idea about the problem?