From b8921975f86161832fd980d7bf3445aa24d1621e Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 3 Sep 2012 19:44:36 +0100 Subject: [PATCH] listener: Use port 443. See #947 --- SparkleLib/SparkleListenerFactory.cs | 2 +- SparkleLib/SparkleListenerTcp.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SparkleLib/SparkleListenerFactory.cs b/SparkleLib/SparkleListenerFactory.cs index ea4ee0e7..95284e43 100644 --- a/SparkleLib/SparkleListenerFactory.cs +++ b/SparkleLib/SparkleListenerFactory.cs @@ -40,7 +40,7 @@ namespace SparkleLib { // Please see the SparkleShare wiki if you wish to run // your own service instead if (string.IsNullOrEmpty (uri)) - uri = "tcp://notifications.sparkleshare.org:80"; + uri = "tcp://notifications.sparkleshare.org:443"; Uri announce_uri = new Uri (uri); diff --git a/SparkleLib/SparkleListenerTcp.cs b/SparkleLib/SparkleListenerTcp.cs index 14ec169b..d134fdb9 100755 --- a/SparkleLib/SparkleListenerTcp.cs +++ b/SparkleLib/SparkleListenerTcp.cs @@ -59,7 +59,7 @@ namespace SparkleLib { int port = Server.Port; if (port < 0) - port = 80; + port = 443; try { this.socket = new Socket (AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) {