eServerPort', {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json'
                    },
                    body: JSON.stringify({ serverPort: parseInt(serverPort) })
                });
                const data = await response.json();
                if (data.success) {
                    alert(data.message || 'Server port updated successfully');
                } else {
                    alert('Failed to update server port: