- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 11:43 PM
I am doing a POC on my personal dev instance to integrate a third party application. The SOAP apis of third party application are being used. However when i am calling them from instance, the request is getting blocked.
As per the third party app manager, they are asking for public ip of our instance so that ip can be white-listed and will not be blocked further.
I know for any authorized Servicenow Instance(other than PDI), we can get public ip via HI portal. But how to get this information for PDI. I also want to know if this public ip will remain same or keeps changing.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2020 02:27 AM
Hi Arpit,
customers have access to that information via our Service Portal (see: KB0550613 - Identifying and Enabling IP address restrictions - login required). In the case of personal developer instances, I'd recommend asking this specific question in the "Instance Help" forum.
Maybe there's also information in the Developer FAQ.
I hope this helps you further.
Lucas Vieites
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2020 02:17 AM
I have tried that but it is not the public ip. It is the node address for which the instance is accessed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2020 10:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2020 11:04 AM
Try the below code and let me know if any issues
var get_source_ip = new sn_ws.RESTMessageV2();
get_source_ip.setHttpMethod("get");
get_source_ip.setEndpoint("https://api.ipify.org?format=json");
var response = get_source_ip.execute();
response.waitForResponse(30);
gs.info(response.getBody());
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 05:27 AM
Hi Arpit, have you tried "pinging" your instance URL to see what it returns?
$ ping <instance-name>.service-now.com PING <instance-name>.service-now.com (149.96.5.119😞 56 data bytes 64 bytes from 149.96.5.119: icmp_seq=0 ttl=241 time=94.838 ms 64 bytes from 149.96.5.119: icmp_seq=1 ttl=241 time=94.937 ms 64 bytes from 149.96.5.119: icmp_seq=2 ttl=241 time=90.352 ms 64 bytes from 149.96.5.119: icmp_seq=3 ttl=241 time=91.484 ms
[...]
Kind regards,
Lucas Vieites
P.S. If my reply helped you, please mark it as helpful or correct so other community members can benefit from this information.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 05:35 AM