add new restful server, get ip