diff --git a/src/common/outbound.c b/src/common/outbound.c index 011deaeb..060c6742 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -3668,7 +3668,7 @@ const struct commands xc_cmds[] = { #endif #ifdef USE_OPENSSL {"SERVER", cmd_server, 0, 0, 1, - N_("SERVER [-ssl] [] [], connects to a server, the default port is 6667 for normal connections, and 9999 for ssl connections")}, + N_("SERVER [-ssl] [] [], connects to a server, the default port is 6667 for normal connections, and 6697 for ssl connections")}, #else {"SERVER", cmd_server, 0, 0, 1, N_("SERVER [] [], connects to a server, the default port is 6667")}, diff --git a/src/common/server.c b/src/common/server.c index 2e8d535d..df410f62 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -1689,7 +1689,7 @@ server_connect (server *serv, char *hostname, int port, int no_login) port = 6667; #ifdef USE_OPENSSL if (serv->use_ssl) - port = 9999; + port = 6697; #endif } port &= 0xffff; /* wrap around */