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.
See what's listening on the loopback interface: nmap -v -v -v -p1-65535 127.0.0.1 -rob
msg12478/pgp00000.pgp
Description: PGP signature