What is it that you would like to know? You want to know the hostname of your TWX Server or the ip? From what you said so far, it looks like your TWX Server ip is: 220.127.116.11. Remember, when you are executing the .jar file you have to setup the correct parameters as well as set WS (web socket). when you execute a .jar file from a computer or device, you have to pus WS instead of http and WSS instead of https.
Not sure if any of these suite your need, of course you might need to create a service to produce the output you need.
// result: STRING
var IPAddress = Resources["CurrentSessionInfo"].GetCurrentIPAddress(); // if you run from the server it will return your server ip.
var address = getHostIPAddress("myTWServerName"); //Replace myTWServerName with your Server name
var address = getAdapterIPAddress("myTWAdapterName"); // Replace myTWAdapterName with your Adapter name.
Another approach might be to create a persistent property that holds the server name and use it in a service like:
var url_str = "http://"+me.TW_ServerName+"/Thingworx"; // TW_ServerName is the name of the property you created.
result = url_str;