On Fri, Nov 08, 2002 at 04:05:51PM +0800, Patrick Hsieh wrote:
> Hello list,
> 
> I'd like to make my debian box to loopback connect when it tries to connect to 
> a specific domain name, say "www.foo.com". So I configured /etc/hosts and put 
> 127.0.0.1   www.foo.com in it.
> 
> When I try to ping www.foo.com, it exactly goes to 127.0.0.1. But when I use 
> telnet www.foo.com 80, it will not connect to 127.0.0.1.
> 
> Any idea?

Are you using apache on port 80? By default, I don't think apache
listens on IP 127.0.0.1. You would have to manually add that?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to