return only ip instead of ip,port
discover example script