🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Getting IP address

#16895
From: Jonathan Anspach
Date: Tue, 29 Dec 1998 00:00
10 lines
809 bytes
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: <36893544.EB4B3152@jaycor.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,aa9f06ef8545d3df,start
X-Google-Attributes: gidf74b3,public
From: Jonathan Anspach <janspach@jaycor.com>
Subject: Getting IP address
Date: 1998/12/29
Message-ID: <36893544.EB4B3152@jaycor.com>
X-Deja-AN: 426864935
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language