🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16897

Re: Getting IP address

#16897
From: Günther Bodlak
Date: Tue, 29 Dec 1998 00:00
21 lines
1084 bytes
Yes,

java.net.InetAddress.getLocalHost();

Guenther

Jonathan Anspach schrieb in Nachricht
<36893544.EB4B3152@jaycor.com>...
>Is there a way for a java program to get the IP address of the
computer
>on which it's running without knowing the host name of the computer?
I
>want the real address, not the loopback.
>
>Jonathan Anspach
>Senior Software Engineer
>Jaycor
>Voice: (505) 344-6583 ext. 280
>Fax: (505) 344-7022
>E-mail: janspach@jaycor.com
>
Technical Details
Message-ID: <76bhms$q3n5@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36893544.EB4B3152@jaycor.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,aa9f06ef8545d3df
X-Google-Attributes: gidf74b3,public
From: "Günther Bodlak" <guenther.bodlak@gmx.net>
Subject: Re: Getting IP address
Date: 1998/12/29
Message-ID: <76bhms$q3n5@forums.borland.com>
X-Deja-AN: 426892844
Content-Transfer-Encoding: 7bit
References: <36893544.EB4B3152@jaycor.com>
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language