diff --git a/lib/xmpp/c2s.js b/lib/xmpp/c2s.js
index <HASH>..<HASH> 100644
--- a/lib/xmpp/c2s.js
+++ b/lib/xmpp/c2s.js
@@ -26,7 +26,7 @@ function C2SServer(options) {
     // And now start listening to connections on the port provided as an option.
     net.createServer(function (inStream) {
         self.acceptConnection(inStream);
-    }).listen(options.port || 5222, options.domain || '::');
+    }).listen(options.port || 5222, options.bindAddress || '::');
 
     // Load TLS key material
     if (options.tls) {
using bindAddress as it makes more sense than domain and is consistent with the S2S API