query network port be used