That's more like an Apache question, not Git-related. Anyways, is there a reason you can't use 0.0.0.0 or * as the IP address? That would solve this problem of yours. On 4 Dec 2014 22:27, "Jirong Hu" <jirong...@gmail.com> wrote:
> I just figured out I have this in conf.d and the IP address has been > changed. Can I use the hostname here? > > <VirtualHost 10.193.19.245:80> > DocumentRoot /opt/git > ServerName cmtoldshrdjk01 > > > On Thursday, 4 December 2014 16:04:32 UTC-5, Jirong Hu wrote: >> >> I installed the GIT server on Linux a while back and it was all working >> fine. Now when somebody wants to use it, it's no longer working. Here are >> some information: >> >> From web browser, http://cmtoldshrdjk01/web-app.git returns error >> "Chrome could not connect to cmtoldshrdjk01". >> >> From another Linux server, I got this: >> >> /home/jhu06/git $ git clone http://cmtoldshrdjk01/web-app2.git >> >> Initialized empty Git repository in /home/jhu06/git/web-app2/.git/ >> >> error: Failed connect to cmtoldshrdjk01:80; Operation now in progress >> while accessing http://cmtoldshrdjk01/web-app2.git/info/refs >> >> fatal: HTTP request failed >> >> /home/jhu06/git $ >> >> From my windows workstation, I got this: >> >> jhu06@OCDT70302123 /c/workspace/GIT >> >> $ git clone http://jhu06:password@cmtoldshrdjk01/web-app2.git >> >> Cloning into 'web-app2'... >> >> fatal: unable to access 'http://jhu06:password@cmtoldshrdjk01/web-app2.git/': >> Failed connect to cmtoldshrdjk01.dev.bmocm.com:80; Connection refused >> >> H:\>telnet cmtoldshrdjk01 80 >> >> Connecting To cmtoldshrdjk01...Could not open connection to the host, on >> port 80: Connect failed >> >> I have a Jenkins installed on this same server on port 8080 and it's >> working fine now. I can't remember which one I installed first. >> > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to git-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.