server and ip in template