[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn, mod_dav_svn, and two apaches

From: Helge Jung <helge_at_eco-logic-software.de>
Date: 2004-09-09 13:42:24 CEST

Jonas Voss wrote:
> Now, If I point my browser to http://mydomain.com:8800/svn/, it times
> out, But if I point it to http://localhost:8800/svn/ it works fine.

I assume you are directly connected to the internet and your machine is
mydomain.com, right? So if you are able to connect by accessing
localhost and not over the net the problem is most likely your
firewall. Easy to understand if you make yourself clear what's going
on:

1) command: connect to mydomain.com
2) dns-lookup mydomain.com -> 1.2.3.4
3) connect to 1.2.3.4
4) 1.2.3.4 (your machine) denied access over the internet from 1.2.3.4
   (because it assumes that local traffic is done local, too - don't
    change this behaviour!)
5) the connect times out or fails

The solution is easy: in /etc/hosts just add a line saying "127.0.0.1
mydomain.com" (on Windoze it's <WinDir>\System32\drivers\etc\hosts) so
that in future all requests to mydomain.com are resolved to localhost.
By the way, if you have no access restrictions in Apache you should be
able to connect to mydomain.com from anywhere else but your network.

If you're not on mydomain.com which is connected to the internet then
forget about everything I wrote above ;-)

Good luck,
  Helge Jung

-- 
CityMaxx24 Development Team
http://www.citymaxx24.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 9 13:38:19 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.