diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+0.22.7 (2014/4/17)
+
+- add Peter Simons' patch fixing Data.Conduit.Network HostIPv4 error (#171)
+
 0.22.6 (2014/4/16)
 
 - depend on hledger[-lib] 0.22.2
diff --git a/Hledger/Web/Main.hs b/Hledger/Web/Main.hs
--- a/Hledger/Web/Main.hs
+++ b/Hledger/Web/Main.hs
@@ -15,7 +15,8 @@
 -- import Yesod.Default.Main   (defaultMain)
 import Settings            --  (parseExtra)
 import Application          (makeApplication)
-import Data.Conduit.Network (HostPreference(HostIPv4))
+import Data.String
+import Data.Conduit.Network
 import Network.Wai.Handler.Warp (runSettings, defaultSettings, settingsPort)
 import Network.Wai.Handler.Launch (runUrlPort)
 --
@@ -63,7 +64,7 @@
   app <- makeApplication opts j' AppConfig{appEnv = Development
                                           ,appPort = p
                                           ,appRoot = pack u
-                                          ,appHost = HostIPv4
+                                          ,appHost = fromString "*4"
                                           ,appExtra = Extra "" Nothing
                                           }
   if server_ opts
diff --git a/hledger-web.cabal b/hledger-web.cabal
--- a/hledger-web.cabal
+++ b/hledger-web.cabal
@@ -1,5 +1,5 @@
 name:           hledger-web
-version: 0.22.6
+version: 0.22.7
 stability:      beta
 category:       Finance
 synopsis:       A web interface for the hledger accounting tool.
@@ -71,7 +71,7 @@
     Default:       False
 
 library
-    cpp-options:   -DVERSION="0.22.6"
+    cpp-options:   -DVERSION="0.22.7"
     if flag(dev) || flag(library-only)
         cpp-options: -DDEVELOPMENT
  
@@ -129,6 +129,7 @@
                    , http-client          >= 0.2 && < 0.4
                    , HUnit
                    , network-conduit
+                   , conduit-extra
                    , old-locale
                    , parsec
                    , regexpr              >= 0.5.1
@@ -162,7 +163,7 @@
     if flag(library-only)
         Buildable: False
 
-    cpp-options:   -DVERSION="0.22.6"
+    cpp-options:   -DVERSION="0.22.7"
     if flag(dev)
         cpp-options:   -DDEVELOPMENT
 
@@ -221,6 +222,7 @@
                    , http-client          >= 0.2 && < 0.4
                    , HUnit
                    , network-conduit
+                   , conduit-extra
                    , old-locale
                    , parsec
                    , regexpr              >= 0.5.1
