- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2013 08:04 AM
Hi,
For Integration between SNOW and BMC Remedy we need to establish network connection as both are on different network.
Network team is asking for Public IP address and port details to establish the connection.
Can anyone help with, how to find the Public IP Address of our SNOW instance and port details.
Appriciate your response.
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2013 07:00 AM
Rather than entering the code in John James Andersen's site (and risk having it fail), it's easier to call his checker via ServiceNow's built in REST tool. To do this, type REST in SN's navigator. Then the NEW button.
Name: Test John-James-Anderson
Description:Publicly available test server
REST endpoint:http://www.john-james-andersen.com/tools/connection.php
Then Save.
When screen reloads, you will see it has automatically created four functions (get,put,post,delete) with the same endpoint. Click on the GET function. Click Test (two thirds of the way down the screen on the left). Then screen should reload and display the output from the Test server, where your (as in your SN instance, not your client) IP is clearly visible.
The two public IP addresses I have seen from our instances are 199.91.137.12 and 37.98.232.12
My guess is the former is for instances running out of Heathrow and the latter is Amsterdam. It would be nice to know though whether more outbound IPs are possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2018 11:09 AM
This has changed and no longer works, but the following works as of 18 June 2018:
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());
The body looks like -> {"ip": "1.2.3.4"}
