{"record":{"id":"3cd988b5f62996d9","repo":"nikivdev/code","slug":"port-80-is-already-in-use-by-stop-that-liste-3cd988","errorCode":null,"errorMessage":"Port 80 is already in use by '{}'. Stop that listener, then retry `f domains --engine native up`.","messagePattern":"Port 80 is already in use by '(.+?)'\\. Stop that listener, then retry `f domains --engine native up`\\.","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/domains.rs","lineNumber":783,"sourceCode":"        .output()\n        .context(\"Failed to build native local domains daemon\")?;\n    ensure_success(output, \"Failed to build native local domains daemon\")?;\n    Ok(())\n}\n\nfn assert_no_port_80_conflict_native(paths: &DomainsPaths) -> Result<()> {\n    if native_proxy_running(paths)? {\n        return Ok(());\n    }\n\n    if let Some(owner) = docker_container_owning_port_80()? {\n        bail!(\n            \"Port 80 is owned by docker container '{}'. Stop it first before starting native domains proxy.\",\n            owner\n        );\n    }\n    if let Some(listener) = port_80_listener_summary()? {\n        bail!(\n            \"Port 80 is already in use by '{}'. Stop that listener, then retry `f domains --engine native up`.\",\n            listener\n        );\n    }\n    Ok(())\n}\n\nfn start_native_proxy(paths: &DomainsPaths) -> Result<()> {\n    let log_file = fs::OpenOptions::new()\n        .create(true)\n        .append(true)\n        .open(&paths.native_log)\n        .with_context(|| format!(\"Failed to open log file {}\", paths.native_log.display()))?;\n    let err_file = log_file\n        .try_clone()\n        .context(\"Failed to duplicate native proxy log file handle\")?;\n\n    let mut cmd = Command::new(&paths.native_bin);","sourceCodeStart":765,"sourceCodeEnd":801,"githubUrl":"https://github.com/nikivdev/code/blob/a747e741ae92c09071d0ae946ab48488adcff1ce/src/domains.rs#L765-L801","documentation":"Error \"Port 80 is already in use by '{}'. Stop that listener, then retry `f domains --engine native up`.\" thrown in nikivdev/code.","triggerScenarios":"Thrown at src/domains.rs:783 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a747e741ae92c09071d0ae946ab48488adcff1ce","analyzedAt":"2026-09-01T22:43:55.719Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}