save list of ports for a service