setting service equality by port and type