set ports to process not port