dictd icon indicating copy to clipboard operation
dictd copied to clipboard

"Cannot connect to any servers" (but I can telnet to the server)

Open jbrea opened this issue 2 years ago • 4 comments

I ran into a weird behavior: Everything runs normally when I am connected to the internet (wlan or ethernet), e.g.

$ dict -I -v
Configuration file:
   server localhost
  dictd 1.13.1/rf on Linux 5.17.4-arch1-1
  On machina: up 11:07, 8 forks (43.2/hour)
  
  Database      Headwords         Index          Data  Uncompressed
  moby-thesaurus      30263        528 kB         10 MB         28 MB

When I am offline I get

$ dict -I -v
Configuration file:
   server localhost
Cannot connect to any servers

but I can still access and query the local dict server with

$ telnet localhost 2628

Any ideas why dict fails to connect to the server when I am offline?

jbrea avatar Apr 26 '22 11:04 jbrea