<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Get Client Local IP Address in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/get-client-local-ip-address/m-p/1565949#M222875</link>
    <description>&lt;P&gt;Hello...&lt;/P&gt;
&lt;P&gt;I need to get client local IP too. But i'm not good in script. Can you help me to explain it more, please?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jun 2018 01:56:00 GMT</pubDate>
    <dc:creator>zulhiyatiuwi</dc:creator>
    <dc:date>2018-06-05T01:56:00Z</dc:date>
    <item>
      <title>Get Client Local IP Address</title>
      <link>https://www.servicenow.com/community/developer-forum/get-client-local-ip-address/m-p/1565947#M222873</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt; padding: 0px;"&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to get the client Local IP address in servicenow.&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt; padding: 0px;"&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I see there is a way to get the Public IP address using the below method, but need a way to get the local IP address.&lt;/P&gt;&lt;P&gt;gs.getSession().getClientIP();&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt; padding: 0px;"&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if anyone has suggestion.&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt; padding: 0px;"&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2014 22:46:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/get-client-local-ip-address/m-p/1565947#M222873</guid>
      <dc:creator>Sureshdta</dc:creator>
      <dc:date>2014-12-05T22:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get Client Local IP Address</title>
      <link>https://www.servicenow.com/community/developer-forum/get-client-local-ip-address/m-p/1565948#M222874</link>
      <description>&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I'm assuming you're trying to retrieve the client's local network address, which may be an RFC 1918 private IP behind some NAT device. You may be able to accomplish this via a client script using the methods described here: &lt;A href="http://stackoverflow.com/questions/20194722/can-you-get-a-users-local-lan-ip-address-via-javascript" title="http://stackoverflow.com/questions/20194722/can-you-get-a-users-local-lan-ip-address-via-javascript"&gt;Can You Get A Users Local LAN IP Address Via JavaScript? - Stack Overflow&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;There is, to my knowledge, no way to do this purely on the server side within a business rule or script include. You would need a client script to run client-side JavaScript that could GlideAJAX the IP back to the server, at which point you could do something interesting with it.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Scott Hall&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jan 2015 22:16:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/get-client-local-ip-address/m-p/1565948#M222874</guid>
      <dc:creator>sshall</dc:creator>
      <dc:date>2015-01-02T22:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get Client Local IP Address</title>
      <link>https://www.servicenow.com/community/developer-forum/get-client-local-ip-address/m-p/1565949#M222875</link>
      <description>&lt;P&gt;Hello...&lt;/P&gt;
&lt;P&gt;I need to get client local IP too. But i'm not good in script. Can you help me to explain it more, please?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 01:56:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/get-client-local-ip-address/m-p/1565949#M222875</guid>
      <dc:creator>zulhiyatiuwi</dc:creator>
      <dc:date>2018-06-05T01:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get Client Local IP Address</title>
      <link>https://www.servicenow.com/community/developer-forum/get-client-local-ip-address/m-p/1565950#M222876</link>
      <description>&lt;P&gt;Wouldn't this work? &amp;nbsp;gs.getSession().getClientIP();&amp;nbsp; &amp;nbsp;(Though maybe this method didn't exist 8 years ago...)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 16:40:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/get-client-local-ip-address/m-p/1565950#M222876</guid>
      <dc:creator>Brian104</dc:creator>
      <dc:date>2022-08-30T16:40:11Z</dc:date>
    </item>
  </channel>
</rss>

