Can't create outgoing socket: UnknownHostException

Pering, Trevor trevor.pering@intel.com
Thu Jun 5 02:40:00 GMT 2003


I've traced this down somewhat -- and it's actually a problem with glibc
somewhere. I have reproduced the problem with a simple C test program.

Thanks for the help,
	Trevor


-----Original Message-----
From: Jeff Sturm [mailto:jsturm@one-point.com] 
Sent: Monday, June 02, 2003 2:55 PM
To: Pering, Trevor
Cc: java@gcc.gnu.org; powledge@intel-research.net; Khai N. Truong
Subject: RE: Can't create outgoing socket: UnknownHostException


On Mon, 2 Jun 2003, Pering, Trevor wrote:
> Using 127.0.0.1 works -- thanks for the suggestion.

That being the case, you have networking.  Something else caused the
name
lookup to fail.

I have no idea what might have gone wrong.  Random guess: Some libc
weirdness causes libnss* to fail.  Feel free to debug.

> So -- does networking need to be explicitly enabled? I never specified
> --with-newlib anywhere.

No, it's normally enabled on any *-linux-* target.

Jeff



More information about the Java mailing list