sudo /snap/bin/lprint server -o log-level=debug -o server-name=lprint.halibut.com
It still tries to use the autodetected hostname of pan.local and won't accept connections to lprint.halibut.com
D [2022-07-27T19:27:08.034Z] Registering DNS-SD name 'LPrint' on 'pan.local'
and
I [2022-07-27T19:27:46.631Z] [Client 1] POST http://lprint.halibut.com:8000/ipp/print/LabelPrinter HTTP/1.1
E [2022-07-27T19:27:46.631Z] [Client 1] Bad Host: header 'lprint.halibut.com'.
I [2022-07-27T19:27:46.631Z] [Client 1] Bad Request
When I start a server as:
It still tries to use the autodetected hostname of
pan.local
and won't accept connections tolprint.halibut.com
and
Full debug console output: 2022-07-27-server-name-not-working.txt
Am I doing something wrong? Or is this actually a bug?