Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to setup servicenow to prefer connection on IPv6

Purven Dudhaiya
Kilo Contributor

I want to test something that uses ServiceNow's table API and I want to make sure my code connects correctly when ServiceNow works on IPv6.

 

I see that if I run : "curl -v https://vendor-instance.service-now.com", 
I get the following output and I see that it is trying to connect to an IPv4

 

 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 149.96.18.33:443...

 

 

If I use the "-6" option in curl, I see that it is trying to connect to and IPV6 (like it should)

 

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying [::ffff:149.96.18.33]:443...

 

 

Do I need to configure something on the ServiceNow instance so that IPv6 is used by default by ServiceNow?

0 REPLIES 0