Index: /trunk/FACT++/src/Connection.cc
===================================================================
--- /trunk/FACT++/src/Connection.cc	(revision 11527)
+++ /trunk/FACT++/src/Connection.cc	(revision 11528)
@@ -457,8 +457,16 @@
 }
 
-void Connection::SetEndpoint(const boost::asio::ip::tcp::endpoint &ep)
-{
-    SetEndpoint(ep.address().to_string(), ep.port());
-    fEndpoint = ep;
+void Connection::SetEndpoint(const tcp::endpoint &ep)
+{
+    const ba::ip::address addr = ep.address();
+
+    const ba::ip::address use =
+        addr.is_v6() && addr.to_v6().is_loopback() ?
+        ba::ip::address(ba::ip::address_v4::loopback()) :
+        addr;
+
+    SetEndpoint(use.to_string(), ep.port());
+
+    fEndpoint = tcp::endpoint(use, ep.port());
 }
 
