def _config_convert_to_address_helper(self) -> None:
to_address = self._socket_factory.to_address<EOL>for k, v in self.config.items():<EOL><INDENT>if k == '<STR_LIT>':<EOL><INDENT>continue<EOL><DEDENT>if k.endswith('<STR_LIT:port>'):<EOL><INDENT>self.config[k] = to_address(v)<EOL><DEDENT><DEDENT>
converts the config from ports to zmq ip addresses
Operates on `self.config` using `self._socket_factory.to_address`