Adds server ip on a global object