cancel
Showing results for 
Search instead for 
Did you mean: 

Determining server host information

Former Member
0 Kudos

Is there a way to programatically determine the host that your application is running on? I have been able to find pretty much all information about the application except the host.

Thanks

Brian Timothy

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hi Brian,


InetAddress.getLocalHost().getHostName();

Best regards, Maksim Rashchynski.

Check http://www.rgagnon.com/javadetails/java-0390.html

Message was edited by: Maksim Rashchynski

Answers (0)