This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- How can I retrieve current system's hostname and ip?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 09, 2008
09:02 AM
How can I retrieve current system's hostname and ip?
Hi,
How can I retrieve the hostname (in FQDN) and IP of my current Windows Server 2003 system?
Thanks!
Billy
How can I retrieve the hostname (in FQDN) and IP of my current Windows Server 2003 system?
Thanks!
Billy
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 09, 2008
10:25 AM
If there's no built-in InstallAnywhere property for these, you could write a custom code action that calls methods in java.net.InetAddress...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 12, 2008
08:27 AM
There is a hostinfo plugin here http://www.acresso.com/downloads/downloads_7399.htm Just be careful when using on multi-homed machines.