dvdotsenko / git_http_backend.py

Port of git's "Smart HTTP" (git-http-backend) server component to Python WSGI interface.
git_http_backend_python_wsgi
GNU Lesser General Public License v2.1
72 stars 15 forks source link

Сonnection refused while accessing http://localhost//info/refs #1

Closed dvdotsenko closed 14 years ago

dvdotsenko commented 14 years ago

On Windows, especially, Windows 7, resolving localhost takes extremely much time. It's Windows thing. That and some strangeness leads to occasional errors like below:

C:\tmp>git clone http://localhost/ wsgigit Initialized empty Git repository in /cygdrive/c/tmp/wsgigit/.git/ error: Failed connect to localhost:80; Connection refused while accessing http://localhost//info/refs

Change the url from "localhost" to the local IP - "127.0.0.1" and all shell be well.