diff --git a/src/cockpit/389-console/src/lib/server/settings.jsx b/src/cockpit/389-console/src/lib/server/settings.jsx index bf830741d..cc6b9bc10 100644 --- a/src/cockpit/389-console/src/lib/server/settings.jsx +++ b/src/cockpit/389-console/src/lib/server/settings.jsx @@ -309,6 +309,9 @@ async validateSaveBtn(nav_tab, attr, value) { const portInUse = await is_port_in_use(portValue); if (portInUse) { disableSaveBtn = true; + if (portValue !== Number(this.state['_' + attr])) { + valueErr = true; + } } } catch (error) { console.error("Error checking port:", error);