Hi,

Picture me, a mug of coffee and warmed-up PC at 08:00 AM ready for a
one-on-one with Emacs 20-5, jde-2.1.6beta16, win-jdpa-1.0 and W2K. First
some Junit-tests were cranked out, followed by a first implementation of
my latest pet project. The Junit-test failed (what else is new) so it
was time to fire up the Debugger. From the corner of my eye I noticed a
red LED winking at me from my CISCO box connecting my lan to the ISDN
link (the only wink i was to receive that day). Somebody/something was
trying to make contact with the internet. Since i was working with all
my friends that morning, it must have been me!
A well, the rest is history. After a session TCPDump, some fiddling with
'My Network Places' and a lot of head shaking, it turned out there is a
'127.0.0.1' passed to 'open-network-stream' in jde-dbs.el. Horror o
Horror, this causes emacs to do a DNS query to resolve the hostname of
that fiendish IP address, no matter how you fill your HOSTS/LMHOSTS
files. This '127.0.0.1' is first refused by the DNS server, but after
emacs mangled it into '127.0.0.1.home.org' (yuck), it received an
answer. In the mean time, my CISCO box was all awake, fired up and doing
the wild thing (a dailup) with the ISDN connection. DNS queries tend to
do that.
Change '127.0.0.1' into 'localhost' and love won't rear it's ugly head.

Cheers,

J

Reply via email to