diff --git a/lib/amqp/server.rb b/lib/amqp/server.rb
index <HASH>..<HASH> 100644
--- a/lib/amqp/server.rb
+++ b/lib/amqp/server.rb
@@ -115,7 +115,7 @@ module Carrot::AMQP
       @socket.connect
 
       if ctx.verify_mode != OpenSSL::SSL::VERIFY_NONE
-        @socket.post_connection_check(@address)
+        @socket.post_connection_check(@host)
       end
     end
@host is the correct property to validate - not @address