Explicitly use address for plugin_command

Contributes CURA-10619
This commit is contained in:
Jelle Spijker 2023-08-16 14:26:54 +02:00
parent eadf9881ef
commit b483537c43
No known key found for this signature in database
GPG key ID: 034D1C0527888B65

View file

@ -43,7 +43,7 @@ class BackendPlugin(AdditionalSettingDefinitionsAppender, PluginObject):
if not self._plugin_command or "--port" in self._plugin_command:
return self._plugin_command or []
return self._plugin_command + ["--port", str(self.__port)]
return self._plugin_command + ["--address", self.getAddress(), "--port", str(self.__port)]
def start(self) -> bool:
"""