get port = -1