update port

This commit is contained in:
puzhen 2026-01-13 19:32:26 +00:00
parent 32e472a437
commit d470f85bd3
2 changed files with 3 additions and 3 deletions

View file

@ -54,7 +54,7 @@ let webViewManager: WebViewManager | null = null;
let fileReader: FileReader | null = null;
let python_process: ChildProcessWithoutNullStreams | null = null;
let backendPort: number = 5001;
let browser_port = 9222;
let browser_port = 9223;
let use_external_cdp = false; // Flag to track if using external CDP browser
// CDP Browser Pool

View file

@ -46,8 +46,8 @@ export default function Browser() {
const [hasUnsavedChanges, setHasUnsavedChanges] = useState(false);
// CDP port configuration
const [cdpPort, setCdpPort] = useState<number>(9222);
const [customPort, setCustomPort] = useState<string>("9222");
const [cdpPort, setCdpPort] = useState<number>(9223);
const [customPort, setCustomPort] = useState<string>("9223");
const [portStatus, setPortStatus] = useState<CdpPortStatus>({
checking: false,
available: null,