diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+* 3000.11.1.1 (21 July 2015)
+
+  - Bug fix: don't crash with empty URI port
+
 * 3000.11.1 (10 July 2015)
 
   - Support both HTTP and HTTPS automatically, depending on URL.
diff --git a/Network/XmlRpc/Client.hs b/Network/XmlRpc/Client.hs
--- a/Network/XmlRpc/Client.hs
+++ b/Network/XmlRpc/Client.hs
@@ -164,7 +164,7 @@
 post_ :: URI -> URIAuth -> HeadersAList -> BSL.ByteString -> IO U.ByteString
 post_ uri auth headers content = withOpenSSL $ do
     let hostname = BS.pack (uriRegName auth)
-        port     = fromMaybe 443 (readMaybe $ tail $ uriPort auth)
+        port     = fromMaybe 443 (readMaybe $ drop 1 $ uriPort auth)
 
     c <- case init $ uriScheme uri of
         "http"  ->
diff --git a/haxr.cabal b/haxr.cabal
--- a/haxr.cabal
+++ b/haxr.cabal
@@ -1,5 +1,5 @@
 Name: haxr
-Version: 3000.11.1
+Version: 3000.11.1.1
 Cabal-version: >=1.10
 Build-type: Simple
 Copyright: Bjorn Bringert, 2003-2006
