Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Get IP ?

  1. #1

    Default Get IP ?

    Hi all,

    I have a list of hostname and I'd like to find the IP.
    I found ResolveIP in Javascript which is the opposite (IP -> host) and I'd like to know if there is something to get the IP from host...

    Thanks,
    Anaïs.

  2. #2
    Join Date
    Jul 2007
    Posts
    247

    Default

    What about using the InetAddress class in the Javascript step?
    http://www.davidreilly.com/java/java...ogramming/#1.2


    HTH,
    Ben

  3. #3
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    The "Get System Info" step returns an IP address.
    Please note that a system can have a series of IP addresses.
    The one returned is IIRC the first non-loopback, non-localhost, IP-address found.

  4. #4

    Default

    Hi,

    Thanks for your help.
    I'm going to use InetAddress which works just fine for what I want to do.

    Anaïs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.