:: Re: [devuan-dev] cups <> IPV4
Top Page
Delete this message
Reply to this message
Author: Kees Schoenmakers
Date:  
To: devuan developers internal list
Subject: Re: [devuan-dev] cups <> IPV4
I did it via:

echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6

# force eth0 to be ipv4
net.ipv6.conf.all.disable_ipv6 = 1
sysctl -p /etc/sysctl.conf

Kees

On 9/12/17, Kees Schoenmakers <kslinux@???> wrote:
> My /etc/hosts _has_ the localhost entry. I read somewhere on the
> Internet about a simular problem. It had to do with the way how IPV6
> translates localhost. (wrongly).
>
> So I believe it is a bug still. But _only_ if the the machine is IPV4 only.
>
> best regards
>
> Kees
>
> On 9/11/17, Ivan J. <parazyd@???> wrote:
>> On Mon, 11 Sep 2017, Kees Schoenmakers wrote:
>>
>>> Gents,
>>>
>>> I have switched off IPV6 on my workstation (and local network). I ran
>>> into a problem with cups.
>>> I could issue a test page with localhost:631. However I could _not_
>>> print from localhost......
>>> The error_log showed:
>>>
>>> Unable to bind socket for address [v1.::1]:631 - Cannot assign
>>> requested address.
>>>
>>> To solve it I had to put 127.0.0.1:631 in cupsd.conf instead of
>>> localhost:631.
>>
>> Check if there's a "127.0.0.1 localhost" entry in your /etc/hosts. If
>> not, you should probably put it there to avoid this kind of things.
>>
>> --
>> ~ parazyd
>> GnuPG: 03337671FDE75BB6A85EC91FB876CB44FA1B0274
>> GnuPG: https://parazyd.cf/FA1B0274.asc
>>
>