Find your public (external) IP address over https - https://ipapi.co
curl 'https://ipapi.co/ip/'
require 'net/http'
puts Net::HTTP.get(URI('https://ipapi.co/ip/'))
from requests import get
print get('https://ipapi.co/ip/').text
echo file_get_contents('https://ipapi.co/ip/')
var https = require('https');
https.get('https://ipapi.co/ip/', function(resp){
var body = ''
resp.on('data', function(data){
body += data;
});
resp.on('end', function(){
console.log(body);
});
});
$.get('https://ipapi.co/ip/', function(data){
console.log(data)
})