server ip out of method