library/server/ doesn't listen on ipv6

Bug #743486 reported by Shaun ONeil
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

library/server/ listens on 0.0.0.0, which makes it accessible via ipv4, but not via ipv6.

Tested in 0.7.52 on OSX 10.6.7, python 2.6.1;
If, in calibre/library/server/__init__.py, the line (13):

listen_on = '0.0.0.0'

is changed to:

listen_on ='::'

It's reachable by both IPv4 & iIPv6.

Obviously it's not this simple; wherever the listen is actually invoked, you'll want to catch the possibility of ipv6 not being available, and fall back to 0.0.0.0 - however, it does work.

Related branches

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in lp:calibre

Fixed in branch lp:calibre. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 743486

I lack the time/interest do all the testing required to change the default,
but I've added a tweak in Preferences->Tweaks that allows you to set listen_on
to whatever you like.

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.