diff --git a/restlike/connect/server.go b/restlike/connect/server.go
index 9320d5e5c924f82107567908b62e0babf5959e08..7438b41d7ffaa5edb99e7d3f99913a0250921ee9 100644
--- a/restlike/connect/server.go
+++ b/restlike/connect/server.go
@@ -16,14 +16,16 @@ import (
 
 // Server implements the RestServer interface using connect.Connection
 type Server struct {
-	receptionId *id.ID
-	endpoints   *restlike.Endpoints
+	receptionId   *id.ID
+	endpoints     *restlike.Endpoints
+	ConnectServer *connect.ConnectionServer
 }
 
 // NewServer builds a RestServer with connect.Connection and
 // the provided arguments, then registers necessary external services
 func NewServer(identity xxdk.ReceptionIdentity, net *xxdk.Cmix,
 	p xxdk.E2EParams, clParams connect.ConnectionListParams) (*Server, error) {
+	var err error
 	newServer := &Server{
 		receptionId: identity.ID,
 		endpoints:   restlike.NewEndpoints(),
@@ -36,7 +38,7 @@ func NewServer(identity xxdk.ReceptionIdentity, net *xxdk.Cmix,
 	}
 
 	// Build the connection listener
-	_, err := connect.StartServer(identity, cb, net, p, clParams)
+	newServer.ConnectServer, err = connect.StartServer(identity, cb, net, p, clParams)
 	if err != nil {
 		return nil, err
 	}