Skip to content

docs: say where the daemon names a taken DNS port, and list UDP on Linux - #108

Open
loan-talvat wants to merge 1 commit into
mainfrom
docs/dns-port-troubleshooting
Open

loan-talvat wants to merge 1 commit into
mainfrom
docs/dns-port-troubleshooting

Conversation

@loan-talvat

Copy link
Copy Markdown
Contributor

Summary

1.9.1 made the daemon refuse to start when another program holds its DNS port, and name the port. The user guide didn't say where that message shows up, and the Linux check for port 1053 missed the case.

  • docs/README.md, Ports already in use: points to localify logs -n 20 and quotes the line the daemon writes (Failed to open the DNS port 127.0.0.1:1053. Another program may hold it). localify start itself only says the daemon did not answer.
  • docs/linux.md, Port Already in Use: ss -tlnp lists TCP only. The DNS server binds UDP first, so a program holding UDP 1053 didn't show up. The 1053 line now uses ss -tulnp.

Checked

With the 1.9.1 Linux binary started the way systemd starts it (socket activation, ports moved to 18080/18443/11053 in a throwaway home) and a program holding UDP 11053:

  • the daemon stopped at once and localify logs -n 3 showed Failed to open the DNS port 127.0.0.1:11053. Another program may hold it: check with lsof -nP -i :11053: Address already in use (os error 98);
  • ss -tlnp | grep ':11053\b' printed nothing, ss -tulnp and lsof -i :11053 showed the holder.

Since 1.9.1 the daemon refuses to start when another program holds its DNS port, and its log names the port. The troubleshooting section now points to localify logs and quotes that line. On Linux, ss -tlnp lists TCP only, while the DNS port is UDP as well, so a program holding UDP 1053 did not show up: the 1053 check now uses ss -tulnp.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T15:36:02.624570Z 4d4489f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant